Skip to content

Commit

Permalink
1. 编辑功能修复增加文字后,经过别的操作,再次修改文字的颜色无效的问题
Browse files Browse the repository at this point in the history
2. 编辑功能底部的更换颜色、撤销功能可点击范围稍微增大
  • Loading branch information
aaatttcccc committed Sep 14, 2022
1 parent 36a0d08 commit 867c384
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public ImageText getText() {
@Override
public void onContentTap() {
ImageTextEditDialog dialog = getDialog();
dialog.setCallback(this);
dialog.setText(mText);
dialog.show();
}
Expand Down
4 changes: 2 additions & 2 deletions imageedit/src/main/res/layout/image_edit_opt_layout_zjh.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@

<ImageButton
android:id="@+id/btn_undo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="@dimen/z_image_color"
android:layout_height="@dimen/z_image_color"
android:background="@null"
android:contentDescription="@string/z_image_undo"
android:onClick="onClick"
Expand Down
4 changes: 2 additions & 2 deletions imageedit/src/main/res/values/image_dimens.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<dimen name="z_image_color">28dp</dimen>
<dimen name="z_image_color">32dp</dimen>

<dimen name="z_image_color_margin">6dp</dimen>
<dimen name="z_image_color_margin">4dp</dimen>

<dimen name="z_image_mode_space">32dp</dimen>

Expand Down

0 comments on commit 867c384

Please sign in to comment.