Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ics-software
phoebus
Commits
7075906a
Unverified
Commit
7075906a
authored
Mar 06, 2022
by
Georg Weiss
Committed by
GitHub
Mar 06, 2022
Browse files
Merge pull request #2158 from ControlSystemStudio/CSSTUDIO-1600
Bug fix for commit #2155
parents
23575d47
b0bc62eb
Pipeline
#108061
passed with stage
in 11 minutes and 40 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
app/rtplot/src/main/java/org/csstudio/javafx/rtplot/internal/LegendPart.java
View file @
7075906a
...
...
@@ -112,12 +112,13 @@ public class LegendPart<XTYPE extends Comparable<XTYPE>> extends PlotPart
if
(
bounds
.
height
<=
0
)
return
;
// Need to compute grid since labels may have changed in case unit string was added when PV connects.
computeGrid
(
gc
,
traces
);
final
Color
orig_color
=
gc
.
getColor
();
final
Font
orig_font
=
gc
.
getFont
();
gc
.
setFont
(
font
);
// Need to compute grid since labels may have changed in case unit string was added when PV connects.
computeGrid
(
gc
,
traces
);
super
.
paint
(
gc
);
int
x
=
bounds
.
x
,
y
=
bounds
.
y
+
base_offset
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment