mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
fix blurring of images after using highlighting pencil (#1467)
This commit is contained in:
@@ -185,6 +185,7 @@ public final class ImageEditorHud extends LinearLayout {
|
||||
case DRAW: presentModeDraw(); break;
|
||||
case HIGHLIGHT: presentModeHighlight(); break;
|
||||
case TEXT: presentModeText(); break;
|
||||
case BLUR: presentModeBlur(); break;
|
||||
}
|
||||
|
||||
if (notify) {
|
||||
@@ -206,6 +207,11 @@ public final class ImageEditorHud extends LinearLayout {
|
||||
(button != undoButton || undoAvailable);
|
||||
}
|
||||
|
||||
private void presentModeBlur() {
|
||||
colorPicker.setOnColorChangeListener(standardOnColorChangeListener);
|
||||
colorPicker.setActiveColor(Color.WHITE);
|
||||
}
|
||||
|
||||
private void presentModeDraw() {
|
||||
colorPicker.setOnColorChangeListener(standardOnColorChangeListener);
|
||||
colorPicker.setActiveColor(Color.RED);
|
||||
|
||||
Reference in New Issue
Block a user