GRAAAAAAAAAAAAAAAF

This commit is contained in:
Mari the Deer 2021-05-17 18:53:37 +02:00
commit 873070939d
4 changed files with 6 additions and 7 deletions

View file

@ -1930,7 +1930,7 @@ Class SWWMStatusBar : BaseStatusBar
yy = margin;
bool smol = (ss.x<640);
Screen.DrawTexture(ChatTex[smol?3:0],false,xx,yy,DTA_VirtualWidthF,ss.x,DTA_VirtualHeightF,ss.y,DTA_KeepRatio,true,DTA_Alpha,boxalph);
yy += 1;
yy++;
for ( int i=mstart; i<MainQueue.Size(); i++ )
{
int col = msg2color;

View file

@ -163,8 +163,7 @@ Class SWWMAchievementNotification : HUDMessageBase
String tag, txt;
int num;
TextureID icon, frame;
int tics;
double holdtics, fadeintics, fadeouttics;
double tics, holdtics, fadeintics, fadeouttics;
transient Font tewifont, mplusfont, miniwifont, k6x8font;
SWWMAchievementNotification Init( String bname, TextureID icon, int bnum = 0 )

View file

@ -853,12 +853,12 @@ Class OptionMenuItemScaleSliderFix : OptionMenuItemScaleSlider
double value = GetSliderValue();
if ( mkey == Menu.MKEY_Left )
{
if ( value <= 0 ) value = -1;
if ( value <= 0 ) value--;
else value = max(0,value-mStep);
}
else if ( mkey == Menu.MKEY_Right )
{
if ( value < 0 ) value = 0;
if ( value < 0 ) value++;
else value += mStep;
}
else return OptionMenuItem.MenuEvent(mkey,fromcontroller);