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