mirror of
https://github.com/vale981/rmview
synced 2025-03-05 09:11:39 -05:00
Autodetection: detect folder view as portrait
This commit is contained in:
parent
f4876c3b23
commit
76505e759d
1 changed files with 2 additions and 0 deletions
|
@ -117,6 +117,8 @@ class rMViewApp(QApplication):
|
||||||
portrait = True
|
portrait = True
|
||||||
elif c(5,5) == 4278190080:
|
elif c(5,5) == 4278190080:
|
||||||
portrait = True
|
portrait = True
|
||||||
|
elif c(40,47) == 4278190080 and c(40,119) == 4278190080:
|
||||||
|
portrait = True
|
||||||
if portrait:
|
if portrait:
|
||||||
self.viewer.portrait()
|
self.viewer.portrait()
|
||||||
self.autoResize(HEIGHT / WIDTH)
|
self.autoResize(HEIGHT / WIDTH)
|
||||||
|
|
Loading…
Add table
Reference in a new issue