fix comment in crereader
This commit is contained in:
1 parent
69cea4f2af
commit
c46266fee8
1 file changed
+1
-1
+1
-1
@@ -108,7 +108,7 @@ function CREReader:goto(pos, is_ignore_jump, pos_type)
|
||||
if pos_type == "xpointer" then
|
||||
self.doc:gotoXPointer(pos)
|
||||
pos = self.doc:getCurrentPos()
|
||||
else -- pos_type is PERCENT * 100
|
||||
else -- pos_type is position within document
|
||||
pos = math.min(pos, self.doc:getFullHeight() - height)
|
||||
pos = math.max(pos, 0)
|
||||
self.doc:gotoPos(pos)
|
||||
|
||||
Reference in new issue
Block a user