equal
deleted
inserted
replaced
86 /* prevent the handle from moving past the right handle */ |
86 /* prevent the handle from moving past the right handle */ |
87 ui.position.left = rightHandleX - 7; |
87 ui.position.left = rightHandleX - 7; |
88 } |
88 } |
89 |
89 |
90 this.zoneWidth = rightHandleX - Math.floor(ui.position.left) - 7; |
90 this.zoneWidth = rightHandleX - Math.floor(ui.position.left) - 7; |
91 this.zoneLeft = Math.floor(ui.position.left) + 8; |
91 this.zoneLeft = Math.floor(ui.position.left); |
92 |
92 |
93 this.sliceZone.css("width", this.zoneWidth); |
93 this.sliceZone.css("width", this.zoneWidth + "px"); |
94 this.sliceZone.css("left", this.zoneLeft + "px"); |
94 this.sliceZone.css("left", (this.zoneLeft + 7) + "px"); |
95 |
95 |
96 this._leftHandleOldLeft = ui.position.left; |
96 this._leftHandleOldLeft = ui.position.left; |
97 this.broadcastChanges(); |
97 this.broadcastChanges(); |
98 |
98 |
99 }; |
99 }; |