Add scrollbar example.

This commit is contained in:
ArthurSonzogni
2024-08-18 10:36:41 +02:00
parent fbd56cdf43
commit c5357acbaa
3 changed files with 114 additions and 1 deletions

View File

@@ -93,7 +93,7 @@ class ResizeDecorator : public NodeDecorator {
Element DefaultRenderState(const WindowRenderState& state) {
Element element = state.inner;
if (state.active) {
if (!state.active) {
element |= dim;
}