fix
This commit is contained in:
parent
088578d34c
commit
e1886e850b
@ -28,6 +28,8 @@ public class DrawingBus {
|
||||
}
|
||||
|
||||
public void SetPosition(int x, int y, int width, int height) {
|
||||
if (x < 0 || y < 0) return;
|
||||
|
||||
if (_pictureWidth <= _busWidth || _pictureHeight <= _busHeight) {
|
||||
_pictureWidth = _null;
|
||||
_pictureHeight = _null;
|
||||
|
Loading…
Reference in New Issue
Block a user