@@ -174,7 +174,7 @@ export class SBaseImageEdit extends SGraphEdit {
return this._width;
}
set width(v: number) {
- if (v > 0) {
+ if (v >= 0) {
if (v != this._width) {
let w = this._width;
this._width = v;
@@ -193,7 +193,7 @@ export class SBaseImageEdit extends SGraphEdit {
return this._height;
set height(v: number) {
if (v != this._height) {
let h = this._height;
this._height = v;