ibp盘图片调整

This commit is contained in:
fan 2019-09-05 09:54:53 +08:00
parent c4bf259918
commit 9ba4ce7681
4 changed files with 11 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

@ -99,8 +99,16 @@ export default class elevator extends Group {
}
setDraggable() {
// this.grouper.attr('draggable', true);
// this.createMouseEvent();
this.createMouseEvent();
}
createMouseEvent() {
this.on('mousedown', this.mousedown, this);
}
mousedown(e) {
if (e.which == 3) {
store.dispatch('ibp/setUpdateDeviceData', this.model);
return;
}
}
setModal(dx, dy) {
this.model.point.x+=dx;

View File

@ -27,7 +27,7 @@ export default class RotatingButton extends Group {
x: this.model.point.x,
y: this.model.point.y,
width: this.model.width,
height: this.model.width/434*381
height: this.model.width/361*336
}
});
this.add(this.rotatingButton);