fix(uxassist): initialize alternating poles when enabling dragging

Initialize Tesla Tower previews on late enable, retry after data loading, and capture original pole prototypes only once for reliable restoration.

Refs #51
This commit is contained in:
soarqin committed 2026-10-11 04:00:56 +08:00
1 parent 4102597132
commit ededc3eeaf
3 files changed
+15 -3

No files matched your search

+2
View File
@@ -4,6 +4,7 @@
## Changlog
* 1.6.2 - Unrelease
* `Drag building power poles`: Fix invalid alternating previews when enabling the option after loading a save, and restore original spacing when disabling it.
* Close building and belt hover popups when opening the pause menu so they cannot obscure menu controls.
* `Protect veins from exhaustion`: Exclude protected veins from mining-rate estimates, mining resource counts, and miner hover counts while retaining their remaining reserves.
* `Dismantle blueprint selected buildings`: Respect sandbox instant-dismantle settings when discarding logistics station contents, and return them normally outside instant dismantling.
@@ -432,6 +433,7 @@
## 更新日志
* 1.6.2 - Unreleased
* `拖建电线杆`:修复载入存档后才启用功能时交替放置的预览异常,并在关闭时恢复原有间距。
* 打开暂停菜单时关闭建筑和传送带的悬浮提示,避免提示遮挡菜单。
* `保护矿脉不会枯竭`:开采速度估算、开采中资源数量和采矿机悬浮信息不再把受保护的矿脉计入开采;仍保留剩余储量显示。
* `拆除蓝图选中的建筑`:按沙盒模式的瞬间拆除设置销毁物流站库存;常规拆除时仍正常返还库存。