@@ -57,6 +57,9 @@ namespace oxygine
void SlidingActor::snap()
{
+ if (!_content)
+ return;
+
updateDragBounds();
_drag.snapClient2Bounds();
_sliding = false;
@@ -153,7 +153,7 @@ namespace oxygine
template <class T>
void MatrixT<T>::transpose()
- transpose(this, *this);
+ transpose(*this, *this);
}