Parcourir la source

fixed warning

Nicolas Cannasse il y a 4 ans
Parent
commit
38ff719a72
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      h2d/Flow.hx

+ 2 - 2
h2d/Flow.hx

@@ -608,10 +608,10 @@ class Flow extends Object {
 				var pushed = false;
 				scrollBar.interactive.cursor = Button;
 				scrollBar.interactive.onPush = function(e:hxd.Event) {
-					scrollBar.interactive.startDrag(function(e) {
+					scrollBar.interactive.startCapture(function(e) {
 						switch( e.kind ) {
 						case ERelease, EReleaseOutside:
-							scrollBar.interactive.stopDrag();
+							scrollBar.interactive.stopCapture();
 						case EPush, EMove:
 							setCursor(e);
 						default: