File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,9 @@ LayoutView = ExportString[{
5353 <|"label"->"Clear outputs", "name"->"clearoutputs", "a"->"Alt+u"|>,
5454 <|"type"->"separator"|>,
5555 <|"label"->"Zoom in", "name"->"zoomIn"|>,
56- <|"label"->"Zoom out", "name"->"zoomOut"|>
56+ <|"label"->"Zoom out", "name"->"zoomOut"|>,
57+ <|"type"->"separator"|>,
58+ <|"label"->"Dev Tools", "name"->"devTools"|>
5759 }
5860
5961 } // Flatten, "JSON"]
Original file line number Diff line number Diff line change @@ -980,6 +980,10 @@ callFakeMenu["zoomIn"] = () => {
980980 windows . focused . call ( 'zoomIn' , true ) ;
981981}
982982
983+ callFakeMenu [ "devTools" ] = ( ) => {
984+ windows . focused . win . webContents . openDevTools ( )
985+ }
986+
983987callFakeMenu [ "zoomOut" ] = ( ) => {
984988 windows . focused . call ( 'zoomOut' , true ) ;
985989}
You can’t perform that action at this time.
0 commit comments