mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix margin adjustment binding error
This commit is contained in:
parent
3a40ef26e5
commit
7fae2c6265
2 changed files with 5 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ import WebKit
|
|||
decreaseFontActionID: $decreaseFontActionID,
|
||||
increaseMarginActionID: $increaseMarginActionID,
|
||||
decreaseMarginActionID: $decreaseMarginActionID,
|
||||
increaseLineHeightActionID: $increaseMarginActionID,
|
||||
increaseLineHeightActionID: $increaseLineHeightActionID,
|
||||
decreaseLineHeightActionID: $decreaseLineHeightActionID,
|
||||
annotationSaveTransactionID: $annotationSaveTransactionID,
|
||||
showNavBarActionID: $showNavBarActionID,
|
||||
|
|
|
|||
|
|
@ -35,18 +35,22 @@ public final class WebView: WKWebView {
|
|||
}
|
||||
|
||||
public func increaseMargin() {
|
||||
print("increase margin")
|
||||
dispatchEvent("increaseMargin")
|
||||
}
|
||||
|
||||
public func decreaseMargin() {
|
||||
print("decrease margin")
|
||||
dispatchEvent("decreaseMargin")
|
||||
}
|
||||
|
||||
public func increaseLineHeight() {
|
||||
print("increase line height")
|
||||
dispatchEvent("increaseLineHeight")
|
||||
}
|
||||
|
||||
public func decreaseLineHeight() {
|
||||
print("decrease line height")
|
||||
dispatchEvent("decreaseLineHeight")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue