fix scroll artifacts at widget edges, disable esp-mesh
This commit is contained in:
@@ -104,10 +104,9 @@ impl RenderEngine {
|
||||
for cmd in &mut cmds {
|
||||
cmd.y = cmd.y.saturating_sub(scroll_offset);
|
||||
}
|
||||
// Drop commands that scrolled above bounds
|
||||
cmds.retain(|cmd| {
|
||||
cmd.y + self.metrics.char_height(cmd.font) > bounds.y
|
||||
&& cmd.y < bounds.y + bounds.height
|
||||
let line_h = self.metrics.char_height(cmd.font);
|
||||
cmd.y >= bounds.y && cmd.y + line_h <= bounds.y + bounds.height
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -23,6 +23,9 @@ CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU1=n
|
||||
# Disable Bluetooth (unused)
|
||||
CONFIG_BT_ENABLED=n
|
||||
|
||||
# Disable ESP-MESH (unused)
|
||||
CONFIG_ESP_WIFI_MESH_SUPPORT=n
|
||||
|
||||
# Reduce log verbosity
|
||||
CONFIG_LOG_DEFAULT_LEVEL_INFO=y
|
||||
CONFIG_LOG_MAXIMUM_LEVEL_INFO=y
|
||||
|
||||
Reference in New Issue
Block a user