ibp盘图片调整
This commit is contained in:
parent
c4bf259918
commit
9ba4ce7681
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 |
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user