This commit is contained in:
Dude so hot authored and renovate[bot] committed 2024-09-20 20:01:49 +08:00
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))
}
}