Skip to content

Commit

Permalink
[fix] ffi/framebuffer: set self.dpi in setDPI (#841)
Browse files Browse the repository at this point in the history
Makes sure custom DPI settings actually work for now.
This might not be quite the Right Thing™ but better slightly improprietary than broken.

See koreader/koreader#4726 for discussion.
  • Loading branch information
Frenzie committed Mar 4, 2019
1 parent 77b7170 commit dbb8947
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ffi/framebuffer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ end
function fb:setDPI(dpi)
screen_dpi_override = dpi
self.dpi = dpi
end
function fb:scaleByDPI(px)
Expand Down

0 comments on commit dbb8947

Please sign in to comment.