mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Fix regression in hovered dock tracking due to workspace refactor
Also, backfill tests for showing, hiding and updating the dock toggle buttons in response to mouse movements.
This commit is contained in:
@@ -328,13 +328,6 @@ module.exports = class Workspace extends Model {
|
||||
this.getCenter().activate()
|
||||
}
|
||||
|
||||
setHoveredDock (hoveredDock) {
|
||||
this.hoveredDock = hoveredDock
|
||||
_.values(this.paneContainers).forEach(dock => {
|
||||
dock.setHovered(dock === hoveredDock)
|
||||
})
|
||||
}
|
||||
|
||||
setDraggingItem (draggingItem) {
|
||||
_.values(this.paneContainers).forEach(dock => {
|
||||
dock.setDraggingItem(draggingItem)
|
||||
|
||||
Reference in New Issue
Block a user