mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Be explicit about type of angles: either Radians or Degrees.
Angles are always doubles. Internally use radians as much as possible. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1605 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
+3
-2
@@ -292,9 +292,10 @@ void MSE::HandleEvent(wxEvtHandler *handler, wxEventFunction func, wxEvent& even
|
||||
// ----------------------------------------------------------------------------- : Events
|
||||
|
||||
int MSE::FilterEvent(wxEvent& ev) {
|
||||
if (ev.GetEventType() == wxEVT_MOUSE_CAPTURE_LOST) {
|
||||
/*if (ev.GetEventType() == wxEVT_MOUSE_CAPTURE_LOST) {
|
||||
return 1;
|
||||
} else {
|
||||
return -1;
|
||||
}
|
||||
}*/
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user