OryUI icon indicating copy to clipboard operation
OryUI copied to clipboard

OryUIHideFloatingActionButton doesn't work

Open QuasiDa opened this issue 2 years ago • 1 comments

The floating menu cannot be hidden.

QuasiDa avatar May 26 '22 11:05 QuasiDa

Hi, I moved on to Flutter to create non gaming apps so I don't really update OryUI anymore as it isn't something I need to use myself at the moment.

I've looked at the last app I built with OyUI and for FloatingActionButtons I used the hide command when the menu was open so it does seem to work. I can also see that I put a filter around the show command which means it only shows when I want it to i.e.:

if (disableCreationOfNewLocks = 0 and oryUIScrimVisible = 0 and noOfLocks < 20 and offline = 0 and maintenance = 0 and timestampFromServer > 1500000000) then OryUIShowFloatingActionButton(fabAddMyLock)

Can you do something similar with your app? Put a filter around the show command? If you look at the code in the hide function you will see that it doesn't do much but reposition it way off the screen.

KevinCrossDCL avatar May 26 '22 12:05 KevinCrossDCL