mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-09-09 11:29:14 -04:00
Fix underline in vertical writing mode
Or rather, add the option to fix it. The actual fix is in the reader.
This commit is contained in:
@@ -188,7 +188,8 @@ export class View {
|
||||
overlayer.remove(value)
|
||||
if (!remove) {
|
||||
const range = doc ? anchor(doc) : anchor
|
||||
const [func, opts] = this.emit({ type: 'draw-annotation', annotation })
|
||||
const [func, opts] = this
|
||||
.emit({ type: 'draw-annotation', annotation, doc, range })
|
||||
overlayer.add(value, range, func, opts)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user