cyberarm_engine 0.24.0 → 0.24.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cyberarm_engine/ui/elements/container.rb +5 -0
- data/lib/cyberarm_engine/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13965f76fa986349341ba09e3219e26ea668b03ba5f73ff62f34631a8e70b4fe
|
4
|
+
data.tar.gz: d5d4e839727bc95d667bf7c08b0995b89830db66fa038edd15072b2cf3d90773
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 994f8908dd69bf8e6f400ba08cc0f29ae0d32baa545d3da3c38bf75b3420c9fdd6df807e89720a274a7149bdf6eb18946541c341d2089b00151f58c1401c4183
|
7
|
+
data.tar.gz: 95431b3371bcbfca6bcb70e3e4486affc62ede532a0e32c74c335f1b2e02b84d5fb5c42028ab619181d19e15962b92126917a0c195facac24c5d55228b0d99ca
|
@@ -236,6 +236,11 @@ module CyberarmEngine
|
|
236
236
|
self.scroll_top = -@scroll_position.y
|
237
237
|
@scroll_target_position.y = @scroll_position.y
|
238
238
|
|
239
|
+
# Fixes resized container that is scrolled down from being stuck overscrolled when resized
|
240
|
+
if scroll_height < height
|
241
|
+
@scroll_target_position.y = 0
|
242
|
+
end
|
243
|
+
|
239
244
|
# NOTE: Experiment for removing need to explicitly call gui_state#recalculate at least 3 times for layout to layout...
|
240
245
|
if old_width != @width || old_height != @height
|
241
246
|
if @parent
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cyberarm_engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.24.
|
4
|
+
version: 0.24.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cyberarm
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
209
209
|
- !ruby/object:Gem::Version
|
210
210
|
version: '0'
|
211
211
|
requirements: []
|
212
|
-
rubygems_version: 3.
|
212
|
+
rubygems_version: 3.5.3
|
213
213
|
signing_key:
|
214
214
|
specification_version: 4
|
215
215
|
summary: Make games quickly and easily with gosu
|