BUG: #154710 - 解决Dock栏因为受主屏容器图标折返拖拽动作的影响,导致最右图标消失问题
This commit is contained in:
parent
f5b2744366
commit
69686ed348
|
@ -627,6 +627,7 @@ export default class StarDock extends StarBaseElement {
|
|||
this._dnd.child.container.classList.remove('dragging')
|
||||
}
|
||||
|
||||
this._dragChild = undefined
|
||||
this.synchronise()
|
||||
}
|
||||
|
||||
|
|
|
@ -2527,7 +2527,7 @@ export class GaiaContainer extends StarBaseElement {
|
|||
|
||||
const elementHeight = this._dnd.child.element.offsetHeight
|
||||
const elementWidth = this._dnd.child.element.offsetWidth
|
||||
if (centerY > this.offsetHeight) {
|
||||
if (centerY > this.offsetHeight + this.top) {
|
||||
this.dragPosition = 'outter'
|
||||
if (!this.throttle) {
|
||||
this.throttle = window.setTimeout(() => {
|
||||
|
|
Loading…
Reference in New Issue