mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
switch from scaleByDPI() to scaleBySize()
This commit is contained in:
@@ -96,7 +96,7 @@ function ReaderDictionary:showDict(word, results, box)
|
||||
word = word,
|
||||
results = results,
|
||||
dictionary = self.default_dictionary,
|
||||
width = Screen:getWidth() - Screen:scaleByDPI(80),
|
||||
width = Screen:getWidth() - Screen:scaleBySize(80),
|
||||
word_box = box,
|
||||
-- differentiate between dict and wiki
|
||||
wiki = self.wiki,
|
||||
|
||||
Reference in New Issue
Block a user