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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5af070a65180730f1435091615fa8160c0763fbdc552918c63c93037b41571f0
4
- data.tar.gz: f426d50db35a7f6b520a239bda8f9eed39d6e1b77ea77a1a7f9cca1c0b9edb0e
3
+ metadata.gz: 13965f76fa986349341ba09e3219e26ea668b03ba5f73ff62f34631a8e70b4fe
4
+ data.tar.gz: d5d4e839727bc95d667bf7c08b0995b89830db66fa038edd15072b2cf3d90773
5
5
  SHA512:
6
- metadata.gz: dbe115990e1e9ae8f7c86a2152a16e7ff7dd752cd84029b2e30b41cbce533b9649abea04009bf2c763b033ec64be89c85f60ef8d07040c450ba57e4fb1a1fe95
7
- data.tar.gz: 18bf468ce8ccb6547e6f578f668f0cb9774d0833f60f8956ac4e98d68c5de61d4b3c1f3079e12e5032a92f4d3a2335a18ae7b4ac7ab15f7eeccd531ae0c64e0a
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
@@ -1,4 +1,4 @@
1
1
  module CyberarmEngine
2
2
  NAME = "InDev".freeze
3
- VERSION = "0.24.0".freeze
3
+ VERSION = "0.24.1".freeze
4
4
  end
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.0
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: 2023-11-17 00:00:00.000000000 Z
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.4.14
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