commit
4a0b4c4865
@ -7,7 +7,7 @@ namespace TrueCraft.Client.Rendering
|
||||
{
|
||||
public abstract class FlatQuadRenderer : BlockRenderer
|
||||
{
|
||||
protected virtual Vector2 TextureMap { get; }
|
||||
protected virtual Vector2 TextureMap { get { return Vector2.Zero; } }
|
||||
protected Vector2[] Texture;
|
||||
|
||||
protected FlatQuadRenderer()
|
||||
|
@ -246,7 +246,7 @@ namespace TrueCraft.Client
|
||||
|
||||
private void OnMouseComponentMove(object sender, MouseMoveEventArgs e)
|
||||
{
|
||||
if (MouseCaptured)
|
||||
if (MouseCaptured && IsActive)
|
||||
{
|
||||
var centerX = GraphicsDevice.Viewport.Width / 2;
|
||||
var centerY = GraphicsDevice.Viewport.Height / 2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user