Skip to content

Commit

Permalink
Merge pull request #39 from ridi/feature/fix-scale-2
Browse files Browse the repository at this point in the history
안드로이드 스케일 이슈 재대응
  • Loading branch information
DavinAhn authored Mar 12, 2024
2 parents ef5338c + 258bf68 commit 158e80a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/android/Reader.es6
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,7 @@ export default class Reader extends _Reader {
}

getDefaultScale() {
const { nativeDenstiy, isScrollMode } = this.context;
return isScrollMode ? 1 : nativeDenstiy / window.devicePixelRatio;
return this.context.nativeDenstiy / window.devicePixelRatio;
}

/**
Expand Down

0 comments on commit 158e80a

Please sign in to comment.