mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-10 10:20:44 -07:00
handing for altcanvas in alerts
This commit is contained in:
parent
1eb7483d35
commit
838acc57ff
2 changed files with 2 additions and 2 deletions
|
|
@ -68,7 +68,7 @@ object Helpers {
|
|||
|
||||
|
||||
// Adjust for parent component location if it exists
|
||||
if (parentComponent != null) {
|
||||
if (parentComponent != null && GameShell.canvas.isShowing) {
|
||||
val parentLocation = parentComponent.locationOnScreen
|
||||
val x = parentLocation.x
|
||||
val y = GameShell.canvas.locationOnScreen.y
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue