Remove bug with MOnumber = 0
This commit is contained in:
parent
b10492533e
commit
9baf6c5dbd
@ -143,7 +143,7 @@ class MOnumber(MO):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def __txt__(self):
|
def __txt__(self):
|
||||||
if self.value > 0:
|
if self.value >= 0:
|
||||||
return str(self.value)
|
return str(self.value)
|
||||||
|
|
||||||
return f"- {abs(self.value)}"
|
return f"- {abs(self.value)}"
|
||||||
|
Loading…
Reference in New Issue
Block a user