Skip to content

Commit 025b410

Browse files
Update CodeEditor.java
1 parent f235e55 commit 025b410

File tree

1 file changed

+2
-2
lines changed
  • library/src/main/java/com/github/ahmadaghazadeh/editor/widget

1 file changed

+2
-2
lines changed

library/src/main/java/com/github/ahmadaghazadeh/editor/widget/CodeEditor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,9 @@ public void onGlobalLayout() {
197197
if (preHeight != height) {
198198

199199
FrameLayout.LayoutParams recyclerViewParam = new FrameLayout.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
200-
recyclerViewParam.setMargins(0, height - 100, 0, 0);
200+
//recyclerViewParam.setMargins(0, height - 100, 0, 0);
201201
recyclerView.setLayoutParams(recyclerViewParam);
202-
paramsTxtprocessor.setMargins(0, 0, 0, 100);
202+
//paramsTxtprocessor.setMargins(0, 0, 0, 100);
203203
editor.setLayoutParams(paramsTxtprocessor);
204204
preHeight = height ;
205205
}

0 commit comments

Comments
 (0)