「view this page in B3 βῆτα server」

Revisions №382

branch: interactive/develop 「№382」
Commited by: Rocco Moretti
GitHub commit link: 「4c519292a186e705」 「№5745」
Difference from previous tested commit:  code diff
Commit date: 2021-12-02 20:48:50

Merge pull request #5745 from RosettaCommons/roccomoretti/interactive_float_menu_wrap_layout_change [Foldit] Adjust Action Float Menu wrapping Adjust how the Action Menu wrapping works. Several changes: 1 Icons now wrap left to right, bottom to top, rather than the old way of filling out the second and third rows back to front. (Where the second row started with the last icon of the all-in-one-row and filled in reverse order from the all-in-one-row, and the third row was the middle of the action bar. We got comments, so hopefully this is a bit more intuitive, even if they move around a bit more on a window resize. 2 Sub-float menus (like the secondary structure and the manual mutation panel) base their position dynamically on the action float menu, so will automatically move down/up if they're open when the window resizes. 3 We now query the actual size of the chat tab, rather than the almost-but-apparently-not-quite hard coded value we were using. This fixes some overlap issues. 4 As a consequence of 3), in offline mode (and Standalone) we can now make use of the full bottom bar, rather than having an empty spot where the char bar would be. A future goal would be to shrink the chat windows for small screen sizes, to keep more real estate for the action bar, but that change isn't part of this PR. (For completeness, I should point out I changed how the animation of the FloatMenu button positions work. This now supports Y movement as well as X movement. -- We don't actually use the animations anymore, though, as the menus should come in in their completed form, and icon movement on resize is distracting.)

...