updateSelectedLayerPosition method
更新选中图层的位置
Implementation
bool updateSelectedLayerPosition(Offset position) {
if (_selectedLayerId != null && _layers.containsKey(_selectedLayerId)) {
_layers[_selectedLayerId]!.position = position;
return true;
}
return false;
}