Make private

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-04-09 08:02:38 +02:00
parent cb02c39d7f
commit 4a40f67e75
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 8 additions and 8 deletions

View File

@ -83,15 +83,15 @@ export default class ImageView extends React.Component<IProps, IState> {
};
}
contextMenuButton = createRef<any>();
focusLock = createRef<any>();
private contextMenuButton = createRef<any>();
private focusLock = createRef<any>();
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