mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-21 05:27:34 +08:00
Comments selectable by header only, links fixes
This commit is contained in:
@@ -28,4 +28,20 @@ export default class IDraggableTemplate extends ITemplate {
|
||||
this.createDraggableObject(),
|
||||
]
|
||||
}
|
||||
|
||||
topBoundary(justSelectableArea = false) {
|
||||
return this.element.locationY
|
||||
}
|
||||
|
||||
rightBoundary(justSelectableArea = false) {
|
||||
return this.element.locationX + this.element.sizeX
|
||||
}
|
||||
|
||||
bottomBoundary(justSelectableArea = false) {
|
||||
return this.element.locationY + this.element.sizeY
|
||||
}
|
||||
|
||||
leftBoundary(justSelectableArea = false) {
|
||||
return this.element.locationX
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user