Cleanup
This commit is contained in:
1 parent
ba75cda036
commit
b9da0eda8b
1 file changed
+1
-1
@@ -24,7 +24,7 @@ abstract class ViewerNavigation {
|
||||
data class Region(val rect: Rect, val type: NavigationRegion) {
|
||||
fun invert(invertMode: TappingInvertMode): Region {
|
||||
if (invertMode == TappingInvertMode.NONE) return this
|
||||
return this.copy(rect = rect.invert(invertMode))
|
||||
return copy(rect = rect.invert(invertMode))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user