Skip to content

Commit

Permalink
Merge pull request #110 from anlingyi/release
Browse files Browse the repository at this point in the history
1.6.7-beta0
  • Loading branch information
anlingyi authored Sep 18, 2023
2 parents 095f604 + 5e783be commit ab0a70f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# XEChat-Idea

> Version 1.6.7-beta
> Version 1.6.7-beta0
> 基于Netty的IDEA即时聊天插件:让你能够在IDEA里实现聊天、下棋、斗地主!(理论上支持JetBrains全系列开发工具🙂)
Expand Down
2 changes: 1 addition & 1 deletion xechat-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group 'cn.xeblog'
version '1.6.7-beta'
version '1.6.7-beta0'

sourceCompatibility = 11
targetCompatibility = 11
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,9 @@ protected void paintComponent(Graphics g) {

Dimension mainDimension = new Dimension(width + 180, height + 50);

if (this.mainPanel == null) {
this.mainPanel = new JPanel();
}
mainPanel.removeAll();
mainPanel.setLayout(new BorderLayout());
mainPanel.setMinimumSize(mainDimension);
Expand Down Expand Up @@ -748,6 +751,10 @@ private void paintChessBoard(Graphics g) {

private void initStartPanel() {
this.aiService = null;

if (this.mainPanel == null) {
this.mainPanel = new JPanel();
}
mainPanel.removeAll();
mainPanel.setLayout(null);
mainPanel.setEnabled(true);
Expand Down Expand Up @@ -855,10 +862,6 @@ private void initStartPanel() {

@Override
protected void init() {
if (this.mainPanel == null) {
this.mainPanel = new JPanel();
}

initStartPanel();
}

Expand Down

0 comments on commit ab0a70f

Please sign in to comment.