Skip to content

Commit ce91b46

Browse files
committed
Quick+Dirty fix for the drag/drop hover effect flashing on and off.
When a file drag is in effect, the upload dialog gets some special UI effects. The effects get turned off if there is no new drag event within 100ms. Irritatingly enough, sometimes the drag event would stutter for slightly longer than 100ms, causing a freaky flashing effect when you stopped moving the mouse during a drag. I bumped that timeout to 300ms to hopefully avoid that.
1 parent 760b7e6 commit ce91b46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codepulse/src/main/resources/toserve/pages/TraceSwitcher/TraceSwitcher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ template html.
217217
timeout = setTimeout(function(){
218218
timeout = null
219219
$zone.removeClass('in hover')
220-
}, 100)
220+
}, 300)
221221
})
222222
}
223223

0 commit comments

Comments
 (0)