Fixed logic scroll bar glitch
This commit is contained in:
@@ -128,6 +128,8 @@ public class LCanvas extends Table{
|
|||||||
if(toLoad != null){
|
if(toLoad != null){
|
||||||
load(toLoad);
|
load(toLoad);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Core.app.post(() -> statements.invalidateHierarchy());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -257,7 +259,7 @@ public class LCanvas extends Table{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
invalidateHierarchy();
|
if(parent != null) parent.invalidateHierarchy();
|
||||||
|
|
||||||
if(parent != null && parent instanceof Table){
|
if(parent != null && parent instanceof Table){
|
||||||
setCullingArea(parent.getCullingArea());
|
setCullingArea(parent.getCullingArea());
|
||||||
|
|||||||
Reference in New Issue
Block a user