fix virtual scrollable on higher resolutions
This commit is contained in:
parent
1cb93b04f6
commit
35aec8affe
@ -1,3 +1,3 @@
|
|||||||
#maven.buildNumber.plugin properties file
|
#maven.buildNumber.plugin properties file
|
||||||
#Sat Oct 19 14:21:36 EDT 2024
|
#Sun Oct 20 12:03:26 EDT 2024
|
||||||
buildNumber=360
|
buildNumber=361
|
||||||
|
|||||||
@ -34,8 +34,6 @@
|
|||||||
- Decoy (creates a decoy)
|
- Decoy (creates a decoy)
|
||||||
- Torch
|
- Torch
|
||||||
- Throwable potions
|
- Throwable potions
|
||||||
Fix ui scaling on abnormal monitors
|
|
||||||
- Essentially just the global flags not being set in rendering engine on init
|
|
||||||
Crouching
|
Crouching
|
||||||
Model clothing, hair for the human
|
Model clothing, hair for the human
|
||||||
particles, light on sword collision
|
particles, light on sword collision
|
||||||
|
|||||||
@ -872,6 +872,9 @@ Potential fix for ground audio bug
|
|||||||
|
|
||||||
(10/20/2024)
|
(10/20/2024)
|
||||||
Fix SP debug launcher actually entering world
|
Fix SP debug launcher actually entering world
|
||||||
|
Fix virtual scrollable clipping logic
|
||||||
|
Fix ui scaling on abnormal monitors
|
||||||
|
- This is literally just a function of the settings file not being updated for different resolutions
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -66,7 +66,7 @@ public class VirtualScrollable extends StandardContainerElement implements Drawa
|
|||||||
*/
|
*/
|
||||||
private boolean childIsInBounds(DrawableElement element){
|
private boolean childIsInBounds(DrawableElement element){
|
||||||
boolean rVal = true;
|
boolean rVal = true;
|
||||||
if(element.getAbsoluteX() + scroll < 0 ||element.getAbsoluteY() + scroll > this.getHeight()){
|
if(element.getAbsoluteY() + scroll < this.getAbsoluteY() || element.getAbsoluteY() + scroll > this.getHeight() + this.getAbsoluteY()){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return rVal;
|
return rVal;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user