Compare commits
2 Commits
de3cb37bc1
...
faa6db9c73
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
faa6db9c73 | ||
|
|
6b5c2c0b2e |
@@ -1612,11 +1612,11 @@ export class LayerManager {
|
|||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
_rearrangeObjects() {
|
_rearrangeObjects() {
|
||||||
if (this.layerSort) {
|
// if (this.layerSort) {
|
||||||
// 使用LayerSort的高级排序
|
// // 使用LayerSort的高级排序
|
||||||
this.layerSort.rearrangeObjects();
|
// this.layerSort.rearrangeObjects();
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
|
||||||
// 传统排序逻辑(保持原有逻辑作为备用)
|
// 传统排序逻辑(保持原有逻辑作为备用)
|
||||||
if (!this.canvas) return;
|
if (!this.canvas) return;
|
||||||
|
|||||||
@@ -91,7 +91,6 @@ export class LayerSort {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return zIndexMap;
|
return zIndexMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user