Merge branch 'master' of https://github.com/doukutsu-rs/doukutsu-rs
This commit is contained in:
commit
72e74e2113
|
@ -461,10 +461,10 @@ impl Scene for TitleScene {
|
||||||
|
|
||||||
if self.current_menu == CurrentMenu::MainMenu {
|
if self.current_menu == CurrentMenu::MainMenu {
|
||||||
let batch = state.texture_set.get_or_load_batch(ctx, &state.constants, "Title")?;
|
let batch = state.texture_set.get_or_load_batch(ctx, &state.constants, "Title")?;
|
||||||
let logo_x_offset = if !state.settings.original_textures {
|
let logo_x_offset = if state.settings.original_textures && state.constants.supports_og_textures {
|
||||||
0.0
|
|
||||||
} else {
|
|
||||||
20.0
|
20.0
|
||||||
|
} else {
|
||||||
|
0.0
|
||||||
};
|
};
|
||||||
|
|
||||||
batch.add_rect(
|
batch.add_rect(
|
||||||
|
|
Loading…
Reference in New Issue