paint: tweak script workflow

This commit is contained in:
luboslenco
2026-06-29 15:14:09 +02:00
parent 5c6007ae63
commit 361e6b51b1
+1
View File
@@ -907,6 +907,7 @@ void base_update_workspace() {
g_config->layout->buffer[LAYOUT_SIZE_STATUS_H] = iron_window_height() * 0.3;
g_config->layout->buffer[LAYOUT_SIZE_SIDEBAR_W] = iron_window_width() * 0.52;
float h = UI_ELEMENT_H() + UI_ELEMENT_OFFSET() + 2;
h += UI_ELEMENT_H() * 3.5; // Small material panel
g_config->layout->buffer[LAYOUT_SIZE_SIDEBAR_H0] = iron_window_height() - h;
g_config->layout->buffer[LAYOUT_SIZE_SIDEBAR_H1] = h;
render_path_resize();