From 4a40f67e755c3b4c2118fc91bed6428723407a1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Fri, 9 Apr 2021 08:02:38 +0200 Subject: [PATCH] Make private MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/components/views/elements/ImageView.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/views/elements/ImageView.tsx b/src/components/views/elements/ImageView.tsx index 3674e91a4a..79e657c682 100644 --- a/src/components/views/elements/ImageView.tsx +++ b/src/components/views/elements/ImageView.tsx @@ -83,15 +83,15 @@ export default class ImageView extends React.Component { }; } - contextMenuButton = createRef(); - focusLock = createRef(); + private contextMenuButton = createRef(); + private focusLock = createRef(); - initX = 0; - initY = 0; - lastX = 0; - lastY = 0; - previousX = 0; - previousY = 0; + private initX = 0; + private initY = 0; + private lastX = 0; + private lastY = 0; + private previousX = 0; + private previousY = 0; componentDidMount() { // We have to use addEventListener() because the listener