OSDN Git Service
(root)
/
radegast
/
radegast.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ba35fb
)
Made alt-ctrl arrows left-right do the same thing as without the control key
author
Latif Khalifa
<latifer@streamgrid.net>
Sat, 6 Aug 2011 04:08:07 +0000
(
04:08
+0000)
committer
Latif Khalifa
<latifer@streamgrid.net>
Sat, 6 Aug 2011 04:08:07 +0000
(
04:08
+0000)
git-svn-id: https://radegast.googlecode.com/svn/trunk@1065
f7a694da
-4d33-11de-9ad6-
1127a62b9fcd
Radegast/GUI/Rendering/Rendering.cs
patch
|
blob
|
history
diff --git
a/Radegast/GUI/Rendering/Rendering.cs
b/Radegast/GUI/Rendering/Rendering.cs
index
4763796
..
edd7392
100644
(file)
--- a/
Radegast/GUI/Rendering/Rendering.cs
+++ b/
Radegast/GUI/Rendering/Rendering.cs
@@
-1971,8
+1971,16
@@
namespace Radegast.Rendering
}
\r
else if (ModifierKeys == (Keys.Alt | Keys.Control))
\r
{
\r
- // Camera vertical rotation
\r
- if (Instance.Keyboard.IsKeyDown(Keys.Down))
\r
+ // Camera horizontal rotation
\r
+ if (Instance.Keyboard.IsKeyDown(Keys.Left))
\r
+ {
\r
+ Camera.Rotate(-time, true);
\r
+ }
\r
+ else if (Instance.Keyboard.IsKeyDown(Keys.Right))
\r
+ {
\r
+ Camera.Rotate(time, true);
\r
+ } // Camera vertical rotation
\r
+ else if (Instance.Keyboard.IsKeyDown(Keys.Down))
\r
{
\r
Camera.Rotate(-time, false);
\r
}
\r