Skip to content

Commit

Permalink
Constants not blinking - fix 1895130 (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
srba authored Apr 19, 2024
2 parents 1f687ce + a033098 commit e8237bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ public void updateLabel(boolean showConstantNames) {
if(((ConstantWeight) getWeight()).constant().hasFocus()){
focusedConstant = true;
}

isvisible = ((ConstantWeight) getWeight()).constant().getVisible();
/*if(((ConstantWeight) getWeight()).constant().getVisible()){
focusedConstant = false;
}*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ public void updateLabel(boolean displayConstantNames) {
if(((ConstantWeight) getWeight()).constant().hasFocus()){
focusedConstant = true;
}

isvisible = ((ConstantWeight) getWeight()).constant().getVisible();
}
if (focusedConstant) {
getNameLabel().setForeground(Constants.SELECTION_TEXT_COLOUR);
Expand Down

0 comments on commit e8237bf

Please sign in to comment.