1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-28 11:35:35 +03:00

GH-282 Adjust layout priority

This commit is contained in:
Tae Won Ha 2016-09-25 08:50:46 +02:00
parent 49f2e1cbe8
commit b156bbdf53
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -128,6 +128,7 @@ extension WorkspaceBar {
}
self.isMouseDownOngoing = true
self.dimensionConstraint.priority = NSLayoutPriorityDragThatCannotResizeWindow - 1
var dragged = false
var curEvent = event
@ -168,6 +169,7 @@ extension WorkspaceBar {
dragged = true
}
self.dimensionConstraint.priority = NSLayoutPriorityDragThatCannotResizeWindow
self.isMouseDownOngoing = false
}