mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 14:25:51 +01:00
add sizes to onDrag
This commit is contained in:
@@ -309,7 +309,7 @@ const Split = (idsOption, options = {}) => {
|
||||
|
||||
// Call the drag callback continously. Don't do anything too intensive
|
||||
// in this callback.
|
||||
getOption(options, 'onDrag', NOOP)()
|
||||
getOption(options, 'onDrag', NOOP)(getSizes())
|
||||
}
|
||||
|
||||
// Cache some important sizes when drag starts, so we don't have to do that
|
||||
|
||||
Reference in New Issue
Block a user