Changed shortcut (from Alt to the right-side Alt) for auto-preview of highlight and shadow clipping indicators (Windows only) (see issue 1813)

This commit is contained in:
michael
2013-04-07 17:32:26 -04:00
parent 1e4e8e97ab
commit fe44029ee9

View File

@@ -694,10 +694,10 @@ void CropWindow::expose (Cairo::RefPtr<Cairo::Context> cr) {
bool showFocusMask = iarea->previewModePanel->showFocusMask();
bool showclippedAny = (!showR && !showG && !showB && !showL); // will show clipping if any of RGB chanels is clipped
// If ALT was pressed, auto-enable highlight and shadow
// While the Right-side ALT is pressed, auto-enable highlight and shadow clipping indicators
// TODO: Add linux/MacOS specific functions for alternative
#ifdef WIN32
if (GetKeyState(VK_MENU)<0) {
if (GetKeyState(VK_RMENU)<0) {
showcs=true; showch=true;
}
#endif