private void ScrollBarHandleTextureChange() { Texture2D texture = WireframeManager.Self.Texture; if (texture == null) { mScrollBarControlLogic.UpdateToImage(128, 128); } else { mScrollBarControlLogic.UpdateToImage(texture.Width, texture.Height); } }