mirror of
https://github.com/cyberarm/cyberarm_engine.git
synced 2025-12-16 21:22:33 +00:00
Compare commits
2 Commits
v0.24.0
...
c4e47b8e38
| Author | SHA1 | Date | |
|---|---|---|---|
| c4e47b8e38 | |||
| d0e1772f33 |
@@ -236,6 +236,11 @@ module CyberarmEngine
|
|||||||
self.scroll_top = -@scroll_position.y
|
self.scroll_top = -@scroll_position.y
|
||||||
@scroll_target_position.y = @scroll_position.y
|
@scroll_target_position.y = @scroll_position.y
|
||||||
|
|
||||||
|
# Fixes resized container that is scrolled down from being stuck overscrolled when resized
|
||||||
|
if scroll_height < height
|
||||||
|
@scroll_target_position.y = 0
|
||||||
|
end
|
||||||
|
|
||||||
# NOTE: Experiment for removing need to explicitly call gui_state#recalculate at least 3 times for layout to layout...
|
# NOTE: Experiment for removing need to explicitly call gui_state#recalculate at least 3 times for layout to layout...
|
||||||
if old_width != @width || old_height != @height
|
if old_width != @width || old_height != @height
|
||||||
if @parent
|
if @parent
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
module CyberarmEngine
|
module CyberarmEngine
|
||||||
NAME = "InDev".freeze
|
NAME = "InDev".freeze
|
||||||
VERSION = "0.24.0".freeze
|
VERSION = "0.24.1".freeze
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user