ソースを参照

Remove some duplicated code from the textpane (feel free to leave this until after release, but it doesn't change anything)

Change-Id: I9568496fa012592871660c61f1a2c9e86d2325ec
Reviewed-on: http://gerrit.dmdirc.com/853
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com>
tags/0.6.3
Gregory Holmes 14年前
コミット
b776b0ef47
1個のファイルの変更0行の追加6行の削除
  1. 0
    6
      src/com/dmdirc/addons/ui_swing/textpane/TextPaneCanvas.java

+ 0
- 6
src/com/dmdirc/addons/ui_swing/textpane/TextPaneCanvas.java ファイルの表示

@@ -184,12 +184,6 @@ class TextPaneCanvas extends JPanel implements MouseInputListener,
184 184
     }
185 185
 
186 186
     private void paintOntoGraphics(final Graphics2D g) {
187
-        final Map desktopHints = (Map) Toolkit.getDefaultToolkit().
188
-                getDesktopProperty("awt.font.desktophints");
189
-        if (desktopHints != null) {
190
-            g.addRenderingHints(desktopHints);
191
-        }
192
-
193 187
         final float formatWidth = getWidth() - DOUBLE_SIDE_PADDING;
194 188
         final float formatHeight = getHeight();
195 189
         float drawPosY = formatHeight;

読み込み中…
キャンセル
保存