Closed YuqiHuai closed 2 years ago
I never had this issue!! please write the exact steps that you did and get this issue!!
I was able to reproduce the issue.
Thanks, @YuqiHuai! I can replicate the issue, as shown below.
@Ibrahimvse @khoiminhpham Could you please look into this and see if you can fix it? I'm not sure if you have higher priority issues to resolve first.
fixed
The issue may not have been fixed yet. I was able to replicate the issue above in another way.
@Ibrahimvse, could you please look into this again?
Update: The bug seems to still happen when using the mouse wheel with the zoom slider. The SAIN editor does not seem to flip when only using mouse wheel to zoom in and out. This bug only seems to happen when both mouse wheel and zoom slider actions are applied.
Hi @Ibrahimvse. Just want to make sure you get @TarandeepSingh562's update about this, so I'm tagging you.
I think this is causing the UI to flip.
The value for "scale" determines the scale of the UI we see. The zoom slider simply adds or substracts 0.1 to this value max. and the mouse wheel adds or substracts (current scale * 0.1) to this value.
When we zoom out with our mouse to lower the zoom scale and slide the zoom slider to zoom out, the "scale" value goes to a negative value which causes the UI to flip.
The "scale" value can be examined by ctrl+f ing "scale" in the html.
I think this is causing the UI to flip.
The value for "scale" determines the scale of the UI we see. The zoom slider simply adds or substracts 0.1 to this value max. and the mouse wheel adds or substracts (current scale * 0.1) to this value.
When we zoom out with our mouse to lower the zoom scale and slide the zoom slider to zoom out, the "scale" value goes to a negative value which causes the UI to flip.
Untitled.mp4 The "scale" value can be examined by ctrl+f ing "scale" in the html.
I'm having the same problem after zooming in/out; it seems to randomly flip the interface.
@Ibrahimvse @khoiminhpham Could you please work on fixing this?
@MehdiMirakhorli I just want to make sure you are aware of this bug still existing in SAIN.
@khoiminhpham @Ibrahimvse What's the status of this, guys? @TarandeepSingh562
fixed
SAIN editor became up-side-down.
I am not sure what I did exactly, I zoomed out and then zoomed in before the issue occurred. The buttons on the top for zoom-in/ zoom-out also became reversed.