Skip to content

Commit

Permalink
修复在默认主题下查询字符串过长时内容会被拉伸的问题: issue#6
Browse files Browse the repository at this point in the history
  • Loading branch information
YiiGuxing committed Aug 12, 2016
1 parent 4ebbe54 commit db1aed7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file modified TranslationPlugin-v1.2-SNAPSHOT.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion src/cn/yiiguxing/plugin/translate/TranslationDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,9 @@ void show(Editor editor) {
query = mModel.getElementAt(0);
}

query(query);
// 先显示,否则在默认主题下查询字符串过长时内容会被拉伸。
setVisible(true);
query(query);
}

private void query(String query) {
Expand Down

0 comments on commit db1aed7

Please sign in to comment.