fix bubble notif hitbox

This commit is contained in:
yugecin 2017-01-17 16:15:09 +01:00
parent c6464ffb25
commit 281d888905

View File

@ -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) {