Skip to content

Commit

Permalink
나래챗 모드를 클라이언트 전용 모드로 명시
Browse files Browse the repository at this point in the history
  • Loading branch information
sokcuri committed Aug 29, 2019
1 parent 4c2d15d commit 8493a56
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# 0.3.0
## 0.4.0
나래챗 모드 클라이언트에서 서버를 열면 다른 클라이언트 접속이 되지 않던 문제 수정

## 0.3.0
윈도우 화상 키보드에서 한/영 전환키 및 한자키 입력 가능하도록 수정 (#2)

# 0.2.0
## 0.2.0
일부 키보드 레이아웃에서 한/영 전환이 안되는 버그 수정

# 0.1.0
## 0.1.0
나래챗 릴리즈
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* 만든이: 소쿠릿 (https://twitter.com/sokcuri)
* 홈페이지: https://github.com/sokcuri/naraechat
* 다운로드: https://github.com/sokcuri/NaraeChat/releases
* 버전: 1.14.4-0.3.0 (2019-08-29)
* 버전: 1.14.4-0.4.0 (2019-08-29)
* 마인크래프트 : 1.14.4
* 포지 : 1.14.4-28.0.55
* 라이센스 : LGPL 3.0
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ apply plugin: 'eclipse'
apply plugin: 'maven-publish'

compileJava.options.encoding = 'UTF-8'
version = '1.14.4-0.3.0'
version = '1.14.4-0.4.0'
group = 'kr.neko.sokcuri.naraechat' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = 'naraechat'

Expand Down
3 changes: 1 addition & 2 deletions src/main/java/kr/neko/sokcuri/naraechat/IMEIndicator.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ public void drawIMEIndicator(KeyboardLayout layout) {

boolean enableBackgroundDrawing = wrapper.getEnableBackgroundDrawing();
boolean isEnabled = wrapper.isEnabled();
int lineScrollOffset = wrapper.getLineScrollOffset();
int selectionEnd = wrapper.getSelectionEnd();

int width = wrapper.getWidth();
int height = wrapper.getHeight();
Expand All @@ -63,6 +61,7 @@ public void drawIMEIndicator(KeyboardLayout layout) {
int y = enableBackgroundDrawing ? wrapper.getY() + (height - 8) / 2 : wrapper.getY();

String text = wrapper.getText();

float indicatorX = x;
String indicatorFirst = layout.getIndicatorText();
String indicatorLast = String.format("[%d]", text.length());
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/kr/neko/sokcuri/naraechat/NaraeMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
import net.minecraft.client.gui.screen.Screen;
import net.minecraft.client.settings.KeyBinding;
import net.minecraft.client.util.InputMappings;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
import net.minecraftforge.client.event.GuiScreenEvent;
import net.minecraftforge.client.settings.KeyModifier;
import net.minecraftforge.common.MinecraftForge;
Expand All @@ -33,6 +35,7 @@

// The value here should match an entry in the META-INF/mods.toml file
@Mod("naraechat")
@OnlyIn(Dist.CLIENT)
public class NaraeMain
{
private static KeyboardLayout keyboard = Hangul_Set_2_Layout.getInstance();
Expand Down

0 comments on commit 8493a56

Please sign in to comment.