mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-30 01:38:50 +00:00
Highlight the current menu item in dropdown menu on mouse over
This commit is contained in:
parent
85f60fbc1c
commit
15f8fff179
@ -103,6 +103,8 @@ export class NodeWidget implements Widget {
|
||||
})
|
||||
.on('mouseover', function (this, n: MapNode) {
|
||||
select(this).attr('class', 'over');
|
||||
self.onContextMenu.emit(new NodeContextMenu(event, n));
|
||||
|
||||
})
|
||||
.on('mouseout', function (this, n: MapNode) {
|
||||
select(this).attr('class', '');
|
||||
|
Loading…
Reference in New Issue
Block a user