mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[apps/calculation] Fix calculation height computation
It was done in two places before, which created inconsistencies
This commit is contained in:
committed by
EmilieNumworks
parent
0379327b06
commit
a56a73b0ba
@@ -174,5 +174,5 @@ KDRect KDRect::movedTo(KDPoint p) const {
|
||||
}
|
||||
|
||||
bool KDRect::isEmpty() const {
|
||||
return (width() == 0 || height() == 0);
|
||||
return (width() == 0 || height() == 0); //TODO <= 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user