vsariola / sointu

Fork of 4klang that can target 386, amd64 and WebAssembly. Tools run on Windows, Mac & Linux
MIT License
240 stars 15 forks source link

Don't draw widgets when the draw area is small #73

Closed vsariola closed 10 months ago

vsariola commented 3 years ago

When the user minimizes the dragsplit area, all the widgets get drawn even though the constraint size is zero.

Skip drawing widgets when the size is small. However, we should still call layout to handle user inputs, so skipping the drawing entirely is not an option.

vsariola commented 10 months ago

Closing this as there are far more important things to do.