LabWork1 PIbd-21 Zacharchenko #1

Merged
eegov merged 5 commits from LabWork1 into master 2022-10-14 08:52:44 +04:00
Showing only changes of commit e1886e850b - Show all commits

View File

@ -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;