Skip to content

Commit

Permalink
updated the detection area
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurKun21 committed Apr 6, 2024
1 parent cb48353 commit accaa12
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ class SupportScreenLocations @Inject constructor(
}.let { x -> Location(x, 256) + headerOffset }

val topScrollbarRegion = when(isWide) {
true -> Region(1305, 335, 70, 35).xFromCenter()
false -> Region(1195, 335, 70, 35).xFromCenter()
true -> Region(1305, 325, 140, 55).xFromCenter()
false -> Region(1195, 325, 100, 55).xFromCenter()
}

val bottomScrollbarRegion = when(isWide) {
true -> Region(1305, 1400, 70, 35).xFromCenter()
false -> Region(1195, 1400, 70, 35).xFromCenter()
true -> Region(1305, 1390, 140, 55).xFromCenter()
false -> Region(1195, 1390, 100, 55).xFromCenter()
}

val refreshRegion = when(isWide){
Expand Down

0 comments on commit accaa12

Please sign in to comment.