mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-26 02:04:37 +08:00
fix(analysis): clear galaxy detail inset
Reapply the camera projection whenever the detail safe area changes so closing the panel removes its stale view offset without resetting the user's camera.
This commit is contained in:
1 parent
214fcee571
commit
a8e4d8297f
1 file changed
+8
@@ -795,6 +795,14 @@ watch(
|
||||
{ flush: 'post' }
|
||||
)
|
||||
|
||||
watch(
|
||||
() => props.safeInsetRight,
|
||||
() => {
|
||||
applyCameraSafeAreaProjection()
|
||||
},
|
||||
{ flush: 'post' }
|
||||
)
|
||||
|
||||
watch(
|
||||
() => props.emphasizeEdges,
|
||||
() => {
|
||||
|
||||
Reference in new issue
Block a user