fix: preview may not update its position (closes #5396)
This commit is contained in:
1 parent
7d0eb278bf
commit
dbadb2b4e5
1 file changed
+1
-1
@@ -30,8 +30,8 @@ class PreviewPanel: NSPanel {
|
||||
}
|
||||
|
||||
static func show(_ id: CGWindowID, _ preview: CALayerContents, _ position: CGPoint, _ size: CGSize) {
|
||||
repositionAndResize(position, size)
|
||||
if id != currentId {
|
||||
repositionAndResize(position, size)
|
||||
previewView.updateContents(preview, size)
|
||||
}
|
||||
if id != currentId || !Self.shared.isVisible {
|
||||
|
||||
Reference in new issue
Block a user