Close ImageView after forward click

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-04-02 08:17:05 +02:00
parent 9606297f7c
commit e5a563f887
No known key found for this signature in database
GPG key ID: 9760693FDD98A790
2 changed files with 5 additions and 0 deletions

View file

@ -224,6 +224,7 @@ export default class ImageView extends React.Component {
mxEvent={this.props.mxEvent}
permalinkCreator={this.props.permalinkCreator}
onFinished={this.onCloseContextMenu}
onCloseDialog={this.props.onFinished}
/>
</ContextMenu>
);