mirror of https://github.com/linebender/xilem
xilem calc: Use Unicode minus sign. (#566)
This lets it get read out correctly by VoiceOver in accessibility code rather than read as a hyphen or dash.
This commit is contained in:
parent
ac95f2524a
commit
6c4951635d
|
@ -24,7 +24,7 @@ impl MathOperator {
|
|||
fn as_str(&self) -> &'static str {
|
||||
match self {
|
||||
MathOperator::Add => "+",
|
||||
MathOperator::Subtract => "-",
|
||||
MathOperator::Subtract => "\u{2212}",
|
||||
MathOperator::Multiply => "×",
|
||||
MathOperator::Divide => "÷",
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue