Skip to content

Commit

Permalink
hwmonitor@sylfurd: make the graph titles legible in HIDPI (linuxmint#…
Browse files Browse the repository at this point in the history
  • Loading branch information
brownsr authored and jaszhix committed Aug 13, 2017
1 parent 9aeb209 commit 2d34815
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hwmonitor@sylfurd/files/hwmonitor@sylfurd/applet.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,12 @@ Graph.prototype = {
cr.fill();

// Label
cr.setFontSize(7);
cr.setFontSize(7*global.ui_scale);
cr.setSourceRGBA(0, 0, 0, 0.5);
cr.moveTo(2.5, 7.5);
cr.moveTo(2.5*global.ui_scale, 7.5*global.ui_scale);
cr.showText(this.provider.getName());
cr.setSourceRGBA(1, 1, 1, 1);
cr.moveTo(2, 7);
cr.moveTo(2*global.ui_scale, 7*global.ui_scale);
cr.showText(this.provider.getName());

},
Expand Down

0 comments on commit 2d34815

Please sign in to comment.