Noah Petherbridge
0a1d86e1f5
For levels having a top/left scroll boundary, the top/left point takes higher priority for resolving out-of-bounds scroll ranges instead of the bottom/right. This fixes a bug where you Zoom Out of a level far enough that the entire boundaries of a Bounded level are smaller than the viewport into the level. It could happen if playing normal levels in Play Mode on a very high-resolution monitor. Previously, the level would anchor to the bottom/right corner of your screen. With the Zoom In/Out Feature this broke the ability to scroll well on the level; so the easy fix is to put the X>0, Y>0 bounds check after the above, so the level will hug the top/left corner of the screen which fixes both problems. |
||
---|---|---|
.. | ||
actor_animation.go | ||
actor_collision.go | ||
actor_events.go | ||
actor.go | ||
canvas_actors.go | ||
canvas_cursor.go | ||
canvas_editable.go | ||
canvas_link_tool.go | ||
canvas_present.go | ||
canvas_scrolling.go | ||
canvas_strokes.go | ||
canvas_wallpaper.go | ||
canvas_zoom.go | ||
canvas.go | ||
scripting.go |