2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-03 05:15:53 +00:00

Minor type fix

This commit is contained in:
Jack Andersen 2016-01-10 15:47:59 -10:00
parent c43840fb3b
commit c38e4dd101
2 changed files with 2 additions and 3 deletions

View File

@ -7,7 +7,7 @@
namespace Specter namespace Specter
{ {
struct ISplitSpaceController; struct ISpaceController;
struct IViewManager struct IViewManager
{ {
@ -21,7 +21,7 @@ public:
return vor; return vor;
} }
virtual void deferSpaceSplit(ISplitSpaceController* split, SplitView::Axis axis, int thisSlot) {} virtual void deferSpaceSplit(ISpaceController* split, SplitView::Axis axis, int thisSlot) {}
virtual const std::vector<HECL::SystemString>* recentProjects() const {return nullptr;} virtual const std::vector<HECL::SystemString>* recentProjects() const {return nullptr;}
virtual void pushRecentProject(const HECL::SystemString& path) {} virtual void pushRecentProject(const HECL::SystemString& path) {}

View File

@ -150,7 +150,6 @@ void Space::mouseMove(const boo::SWindowCoord& coord)
if (m_cornerDrag) if (m_cornerDrag)
{ {
float pf = rootView().viewRes().pixelFactor(); float pf = rootView().viewRes().pixelFactor();
ISplitSpaceController* cornerDragSplitSpace = nullptr;
if (m_cornerView.m_view->m_flip) if (m_cornerView.m_view->m_flip)
{ {
if (coord.pixel[0] < m_cornerDragPoint[0] - CORNER_DRAG_THRESHOLD * pf) if (coord.pixel[0] < m_cornerDragPoint[0] - CORNER_DRAG_THRESHOLD * pf)