scratchfoundation / scratch-gui

Graphical User Interface for creating and running Scratch 3.0 projects.
https://scratchfoundation.github.io/scratch-gui/develop/
BSD 3-Clause "New" or "Revised" License
4.33k stars 3.42k forks source link

Changing variable display type does not reposition the variable if offscreen #9579

Open bruh-9000 opened 2 months ago

bruh-9000 commented 2 months ago

Expected Behavior

Changing a variable that is in the bottom right (example, doesn't have to specifically be this) to a type that is larger than its previous state (such as normal readout to slider) will have it be offscreen partially

Actual Behavior

The variable is partially ofscreen

Steps to Reproduce

Explain what someone needs to do in order to see what's described in Actual behavior above

Steps to reproduce the behavior:

  1. Create a new variable
  2. Show the var
  3. Move the var to the bottom right of the screen (example, doesn't have to specifically be this)
  4. Change the var type to a slider
  5. Observe how the var is partially offscreen and isn't moved to be onscreen

System Details

All