• R/O
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

OmegaT の背景に画像を表示します。


Commit MetaInfo

Revision55 (tree)
Time2014-05-25 23:43:49
Authoryu-tang

Log Message

エディターを透過対象外にした場合、インスタントスタートの縁だけ透過される問題を修正

Change Summary

Incremental Difference

--- trunk/src/jp/sourceforge/users/yutang/omegat/plugin/moenizer/MoeUI.java (revision 54)
+++ trunk/src/jp/sourceforge/users/yutang/omegat/plugin/moenizer/MoeUI.java (revision 55)
@@ -400,7 +400,12 @@
400400 if (component instanceof JComponent) {
401401 JComponent c = (JComponent) component;
402402 if (c.isShowing() && c.isOpaque()) {
403- c.setOpaque(false);
403+ if (exclude.contains(Parts.EDITOR) && c instanceof JTextPane &&
404+ c.equals(getJTextPaneFromInstantStartView())) {
405+ // INSTANT_START を除く
406+ } else {
407+ c.setOpaque(false);
408+ }
404409 }
405410 }
406411