mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-17 03:25:14 -04:00
Scrolling of mouse wheel should be swallowed by the pause and other menu screens. (Thanks Jjp137)
This commit is contained in:
parent
1bf578664d
commit
a4e66f7145
@ -54,6 +54,8 @@ namespace ClassicalSharp {
|
||||
return HandleMouseMove( widgets, mouseX, mouseY );
|
||||
}
|
||||
|
||||
public override bool HandlesMouseScroll( int delta ) { return true; }
|
||||
|
||||
public override bool HandlesKeyPress( char key ) { return true; }
|
||||
|
||||
public override bool HandlesKeyDown( Key key ) { return true; }
|
||||
|
@ -70,7 +70,7 @@ namespace ClassicalSharp.Model {
|
||||
|
||||
graphics.AlphaTest = true;
|
||||
index = 0;
|
||||
DrawHeadRotate( p.PitchRadians, 0, 0, Hat );
|
||||
DrawHeadRotate( -p.PitchRadians, 0, 0, Hat );
|
||||
graphics.UpdateDynamicIndexedVb( DrawMode.Triangles, cache.vb, cache.vertices, index, index * 6 / 4 );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user