is there any way to disable the 'draggability' of ...
# compose-desktop
s
is there any way to disable the 'draggability' of a
WindowDraggableArea
? I wan't to disable it when the window is maximized
k
You can probably do if-else, using
WindowDraggableArea
for non-maximized window, and a simpler
Row
for maximized window.
s
Yeah tried that already but the implementation is a bit painful because everything else sits on top of this window. Seems like it's the only way though
k
The implementation of it is not super complicated, so you can copy it into your codebase and tweak as needed
s
the thing is, this window initializes the navigation so every time I maximize/minimize it would restart the navigation and show the splash screen again. have to sort that out and see how it behaves