Skip to content

Commit

Permalink
Try to fix Android build
Browse files Browse the repository at this point in the history
  • Loading branch information
jbytheway committed Apr 27, 2020
1 parent a8f39d8 commit 31b1c6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sdltiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2305,13 +2305,13 @@ void draw_quick_shortcuts()
text_scale;
}
text_y = ( WindowHeight - ( height + font->fontheight * text_scale ) * 0.5f ) / text_scale;
font->OutputChar( text, text_x + 1, text_y + 1, 0,
font->OutputChar( text, point( text_x + 1, text_y + 1 ), 0,
get_option<int>( "ANDROID_SHORTCUT_OPACITY_SHADOW" ) * 0.01f );
font->OutputChar( text, text_x, text_y, get_option<int>( "ANDROID_SHORTCUT_COLOR" ),
font->OutputChar( text, point( text_x, text_y ), get_option<int>( "ANDROID_SHORTCUT_COLOR" ),
get_option<int>( "ANDROID_SHORTCUT_OPACITY_FG" ) * 0.01f );
if( hovered ) {
// draw a second button hovering above the first one
font->OutputChar( text, text_x, text_y - ( height * 1.2f / text_scale ),
font->OutputChar( text, point( text_x, text_y - ( height * 1.2f / text_scale ) ),
get_option<int>( "ANDROID_SHORTCUT_COLOR" ) );
if( show_hint ) {
// draw hint text
Expand Down

0 comments on commit 31b1c6f

Please sign in to comment.