doodle/pkg/uix
Noah Petherbridge 0a1d86e1f5 Bugfix: Scroll constraint favors top/left edge
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.
2021-09-12 15:59:40 -07:00
..
actor_animation.go Overhaul the Platformer Physics System 2020-04-04 21:00:32 -07:00
actor_collision.go Thief and Inventory APIs 2021-08-09 22:42:22 -07:00
actor_events.go Doodads: Use Key and Working Warp Doors 2021-01-03 15:19:21 -08:00
actor.go First-class Doodad Hitboxes + Generic Item Script 2021-09-03 20:39:44 -07:00
canvas_actors.go Actor Zoom + Experimental Settings GUI 2021-09-11 21:18:22 -07:00
canvas_cursor.go Change types int32 -> int per upstream render and ui library 2019-12-27 19:16:34 -08:00
canvas_editable.go Zoom Improvements 2021-09-12 15:27:37 -07:00
canvas_link_tool.go Doodads: Use Key and Working Warp Doors 2021-01-03 15:19:21 -08:00
canvas_present.go Zoom: Fix scrolling into negative coordinates 2021-09-12 15:47:16 -07:00
canvas_scrolling.go Bugfix: Scroll constraint favors top/left edge 2021-09-12 15:59:40 -07:00
canvas_strokes.go Zoom Improvements 2021-09-12 15:27:37 -07:00
canvas_wallpaper.go Stabilize Load Screen by Deferring SDL2 Calls 2021-07-19 17:14:00 -07:00
canvas_zoom.go Zoom And Edit 2021-09-11 17:02:01 -07:00
canvas.go Thief and Inventory APIs 2021-08-09 22:42:22 -07:00
scripting.go First-class Doodad Hitboxes + Generic Item Script 2021-09-03 20:39:44 -07:00