Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PoroCYon
Bonzomatic
Commits
fdf9d114
Commit
fdf9d114
authored
Jul 03, 2017
by
Greger
Committed by
Gargaj
Jul 03, 2017
Browse files
Add Ctrl/Cmd-f to hide shader overlay, to resolve problems with using F11 on Mac (#33)
parent
53a6b4cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
fdf9d114
...
@@ -13,7 +13,7 @@ The tool was originally conceived and implemented after the Revision 2014 demosc
...
@@ -13,7 +13,7 @@ The tool was originally conceived and implemented after the Revision 2014 demosc
## Keys
## Keys
-
F2: toggle texture preview
-
F2: toggle texture preview
-
F5 or Ctrl-R: recompile shader
-
F5 or Ctrl-R: recompile shader
-
F11: hide shader overlay
-
F11
or Ctrl/Cmd-f
: hide shader overlay
-
Alt-F4: exbobolate your planet
-
Alt-F4: exbobolate your planet
## Configuration
## Configuration
...
...
src/main.cpp
View file @
fdf9d114
...
@@ -375,7 +375,7 @@ int main()
...
@@ -375,7 +375,7 @@ int main()
mDebugOutput
.
SetText
(
szError
);
mDebugOutput
.
SetText
(
szError
);
}
}
}
}
else
if
(
Renderer
::
keyEventBuffer
[
i
].
scanCode
==
292
)
// F11
else
if
(
Renderer
::
keyEventBuffer
[
i
].
scanCode
==
292
||
(
Renderer
::
keyEventBuffer
[
i
].
ctrl
&&
Renderer
::
keyEventBuffer
[
i
].
scanCode
==
'f'
))
// F11 or Ctrl/Cmd-f
{
{
bShowGui
=
!
bShowGui
;
bShowGui
=
!
bShowGui
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment