phetsims / masses-and-springs-basics

"Masses and Springs: Basics" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
0 stars 3 forks source link

[Stretch Screen] Ruler not floating on startup #47

Closed arouinfar closed 5 years ago

arouinfar commented 5 years ago

For https://github.com/phetsims/QA/issues/241, and discovered in #46.

On startup, the ruler on the Stretch screen should be right-aligned with the panel above it. When the window is at a wider aspect ratio than ?dev the ruler and panel both float. The panel is correctly floating on startup, but the ruler is not (left). Pressing the resetAllButton will properly re-align the ruler with the panel (right).

screen shot 2018-12-20 at 12 50 25 pm screen shot 2018-12-20 at 12 51 16 pm

Denz1994 commented 5 years ago

The current behavior causes the ruler to snap back to its original position when the screen size changes or the reset all button is pressed. Is this behavior acceptable? Check in this dev version @arouinfar.

I don't know of another sim with floating draggable objects that are always visible on screen (no toolbox). If you know of an example please note here so I can reference the model, if not then no worries.

arouinfar commented 5 years ago

@Denz1994 the behavior in dev.16 looks good!