fix bubble notif hitbox
This commit is contained in:
parent
c6464ffb25
commit
281d888905
|
@ -80,7 +80,7 @@ public class BubbleNotificationState implements EventListener<BubbleNotification
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean mouseReleased(int x, int y) {
|
public boolean mouseReleased(int x, int y) {
|
||||||
if (x < displayContainer.width - Notification.width) {
|
if (x < Notification.finalX) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
for (Notification bubble : bubbles) {
|
for (Notification bubble : bubbles) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user