answered
2015-10-05 01:11:47 +0200
AliN
6981 ●94 ●134 ●137
Edit: The patch of patch is here!
Allowing any orientations except inverted portrait to avoid taking phone upside-down.
I just want to mention that I respect the works @coderus is doing in developing apps and patches. This patch is great either and I like it. Personally I don't like inverted portrait for phone, but the patch is so useful that I couldn't ignore it, so I tried to modify it as I wished.
Unapply the patch, edit the file /usr/share/patchmanager/patches/sailfishos-uirotate-free/unified_diff.patch
. On the 10th line you see:
+ return Orientation.All
You need to replace it with:
+ return Orientation.Portrait | Orientation.Landscape | Orientation.LandscapeInverted
Hi, this kind of problem, should be put forward to the author of the application, in this case @coderus. I use the UI Rotate Free app myself and have yet to experience any problems, but I will look out for what you've said.
Spam Hunter ( 2015-10-04 21:24:41 +0200 )editThere is no any problem as you can see.
coderus ( 2015-10-04 21:37:18 +0200 )edit@Markkyboy, Yes, that was first thing I did - https://openrepos.net/comment/10256#comment-10256
kandelabra ( 2015-10-04 21:38:35 +0200 )editNice anecdote but as @coderus say, it just proves that his patch works.
Thanks for the head-up though :-)
pichlo ( 2015-10-04 21:44:41 +0200 )editSure it works. It works too good. This is just warning :)
kandelabra ( 2015-10-04 21:57:08 +0200 )edit