feat: add "Keep transformation" to menu
This could be helpful when viewing a gallery with similar size, which need to apply same transformation to the view. E.g. When viewing a batch of pixel image sprite assets, the view might need to be zoomed to clearly view the detail of the image. Other use-case can be seen at the linked issue below. https://github.com/BLumia/pineapple-pictures/issues/87 https://github.com/BLumia/pineapple-pictures/issues/89
This commit is contained in:
@ -485,9 +485,7 @@ void MainWindow::contextMenuEvent(QContextMenuEvent *event)
|
||||
menu->addSeparator();
|
||||
menu->addAction(stayOnTopMode);
|
||||
menu->addAction(protectedMode);
|
||||
#if 0
|
||||
menu->addAction(avoidResetTransform);
|
||||
#endif // 0
|
||||
menu->addSeparator();
|
||||
menu->addAction(toggleSettings);
|
||||
menu->addAction(helpAction);
|
||||
|
Reference in New Issue
Block a user