Minor bug fixes
This commit is contained in:
parent
168d70e873
commit
c40dd7abcc
@ -37,11 +37,14 @@ void Settings_Draw (SDL_Renderer* renderer) {
|
||||
if(y<=400&&y>=300&&x<=800&&x>=400&&(Mousestate & SDL_BUTTON(SDL_BUTTON_LEFT))){
|
||||
SDL_RenderFillRect(renderer,&BV_Scalar_rect);
|
||||
SDL_RenderDrawRect(renderer,&BV_Scalar_rect);
|
||||
if(x>780){
|
||||
if(x>790){
|
||||
BV_Scalar_rect.x=780;
|
||||
}
|
||||
else if(x<410){
|
||||
BV_Scalar_rect.x=400;
|
||||
}
|
||||
else{
|
||||
BV_Scalar_rect.x=x;
|
||||
BV_Scalar_rect.x=x-10;
|
||||
}
|
||||
}
|
||||
else{
|
||||
|
Loading…
Reference in New Issue
Block a user