From 4f7885e277eb53af1662c507c145767d699056bf Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Wed, 27 Dec 2017 21:33:16 +0100 Subject: Fix position of caret when zooming content. --- frontends/cocoa/BrowserView.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'frontends/cocoa/BrowserView.h') 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 { 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; -- cgit v1.2.3