Explorar o código

added / to shrink and * for original zoom

circular17 %!s(int64=5) %!d(string=hai) anos
pai
achega
d1be8c8082
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      lazpaint/lazpaintmainform.pas

+ 10 - 0
lazpaint/lazpaintmainform.pas

@@ -2434,6 +2434,16 @@ begin
          ViewZoomOut.Execute;
          UTF8Key := '';
       end else
+      if toolProcessKey and (UTF8Key = '*') then
+      begin
+         ViewZoomOriginal.Execute;
+         UTF8Key := '';
+      end else
+      if toolProcessKey and (UTF8Key = '/') then
+      begin
+         ViewZoomFit.Execute;
+         UTF8Key := '';
+      end else
       begin
         selectedTool := ToolManager.GetCurrentToolType;
         FLayout.Menu.CycleTool(selectedTool, UTF8Key);