diff options
author | Sven Weidauer <sven@5sw.de> | 2017-12-27 21:33:16 +0100 |
---|---|---|
committer | Sven Weidauer <sven@5sw.de> | 2017-12-27 21:33:16 +0100 |
commit | 4f7885e277eb53af1662c507c145767d699056bf (patch) | |
tree | f5e7e99ce241d08f1cba76409ff4934ce5d78f82 /frontends/cocoa/BrowserView.h | |
parent | f035d6dbeb398cbb64df75f2ad400624b26efb5f (diff) | |
download | netsurf-4f7885e277eb53af1662c507c145767d699056bf.tar.gz netsurf-4f7885e277eb53af1662c507c145767d699056bf.tar.bz2 |
Fix position of caret when zooming content.
Diffstat (limited to 'frontends/cocoa/BrowserView.h')
-rw-r--r-- | frontends/cocoa/BrowserView.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/frontends/cocoa/BrowserView.h b/frontends/cocoa/BrowserView.h index 596100f09..cf1b0dc02 100644 --- a/frontends/cocoa/BrowserView.h +++ b/frontends/cocoa/BrowserView.h @@ -25,8 +25,6 @@ @interface BrowserView : ScrollableView <NSTextInput> { struct browser_window *browser; - NSPoint caretPoint; - CGFloat caretHeight; BOOL caretVisible; BOOL hasCaret; NSTimer *caretTimer; @@ -45,7 +43,7 @@ @property (readwrite, assign, nonatomic, getter=isHistoryVisible) BOOL historyVisible; - (void)removeCaret; -- (void)addCaretAt:(NSPoint)point height:(CGFloat)height; +- (void)addCaretAtX: (int)caretX Y: (int)caretY height: (int)caretHeight; - (void)updateHistory; |