Skip to content

Commit

Permalink
Change lock style and fix y calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmipt committed Nov 17, 2024
1 parent 20308fa commit 73611ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/studio/ui/chart/LineInfoFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public String getTitle() {

private String fmtLabel(String text, boolean locked) {
if (locked) {
return "<html><u>" + text + "</u></html>";
return "<html><b>" + text + "</b></html>";
} else {
return text;
}
Expand All @@ -136,7 +136,7 @@ private void refresh() {
else dx = line.getDX(dy);

if (lockX) y = line.getY(x);
else x = line.getDX(y);
else x = line.getX(y);

txtDX.setText("" + dx);
txtDY.setText("" + dy);
Expand Down

0 comments on commit 73611ff

Please sign in to comment.