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:
parent
49f2e1cbe8
commit
b156bbdf53
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user