bug6177: adapted to GWT 2.12 deprecations

This commit is contained in:
Axel Uhl committed 2025-11-01 01:21:06 +01:00
1 parent 52189e97b6
commit b02b653af0
2 files changed
+1 -2

No files matched your search

@@ -131,7 +131,6 @@ public class MediaPlayerManagerComponent extends AbstractComponent<MediaPlayerSe
this.popupPositionProvider = popupPositionProvider;
this.settings = settings;
this.storageServiceAvailable = new FileStorageServiceConnectionTestObservable(sailingServiceWrite);
Window.addCloseHandler(this);
Window.addWindowClosingHandler(this);
userService.addUserStatusEventHandler(new UserStatusEventHandler() {
@Override
@@ -513,7 +513,7 @@ public class SliderBar extends FocusPanel implements RequiresResize, HasValue<Do
break;
// Mousewheel events
case Event.ONMOUSEWHEEL:
int velocityY = event.getMouseWheelVelocityY();
final double velocityY = event.getDeltaY();
event.preventDefault();
if (velocityY > 0) {
shiftRight(1);