mirror of
https://gitlab.com/cc-ru/ocelot/ocelot-desktop.git
synced 2025-12-20 02:59:19 +01:00
Only show the node port legend on hover
This commit is contained in:
parent
223bbd5048
commit
189d26c4a1
@ -296,7 +296,7 @@ abstract class Node extends Widget with MouseHandler with HoverHandler with Pers
|
||||
def drawLight(g: Graphics): Unit = {}
|
||||
|
||||
def drawLabel(g: Graphics): Unit = {
|
||||
if (isHovered || isBeingConnected) {
|
||||
if (isHovered) {
|
||||
drawPortLegend(g)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user