multiplication sign fix
This commit is contained in:
@@ -90,7 +90,7 @@ public class ColorButton extends Button {
|
||||
feedbackPaint.setStrokeWidth(2);
|
||||
|
||||
|
||||
if (CollectionsUtils.contains(getText().toString(), Arrays.asList("+", "-", "/", "×"))) {
|
||||
if (CollectionsUtils.contains(getText().toString(), Arrays.asList("+", "-", "/", "×", "*", "∙"))) {
|
||||
getPaint().setColor(resources.getColor(R.color.button_operator_text_color));
|
||||
} else if (getText().toString().equals("C")) {
|
||||
getPaint().setColor(resources.getColor(R.color.button_ce_text_color));
|
||||
|
@@ -38,9 +38,6 @@ public class DirectionDragButton extends DragButton {
|
||||
@NotNull
|
||||
private final static String DEFAULT_DIRECTION_TEXT_SCALE = "0.33;0.33;0.33;0.33";
|
||||
|
||||
@Nullable
|
||||
private String textMiddle;
|
||||
|
||||
protected static class DirectionTextData {
|
||||
|
||||
@NotNull
|
||||
@@ -258,9 +255,6 @@ public class DirectionDragButton extends DragButton {
|
||||
}
|
||||
}
|
||||
|
||||
// backup text
|
||||
this.textMiddle = String.valueOf(getText());
|
||||
|
||||
super.init(context);
|
||||
initialized = true;
|
||||
}
|
||||
@@ -327,11 +321,6 @@ public class DirectionDragButton extends DragButton {
|
||||
return getText(GuiDragDirection.down);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public String getTextMiddle() {
|
||||
return textMiddle;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public String getText(@NotNull DragDirection direction) {
|
||||
final GuiDragDirection guiDragDirection = GuiDragDirection.valueOf(direction);
|
||||
|
Reference in New Issue
Block a user