Skip to content

Commit

Permalink
fix deprecation warnings about TRANS_QUAD -> QUAD
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamby777 committed Jan 19, 2024
1 parent 4a845bf commit dfb6d04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pets-lib/src/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub mod dialogue {
pub const UI_LAYER_NAME: &str = "UILayer";
pub const DBOX_NODE_NAME: &str = "DialogBox";
pub const DBOX_TWEEN_TIME: f64 = 0.5;
pub const DBOX_TWEEN_TRANS: TransitionType = TransitionType::TRANS_QUAD;
pub const DBOX_TWEEN_TRANS: TransitionType = TransitionType::QUAD;

/// distance the dialog box is from the bottom of the screen
/// to avoid the glow effect from showing while it's not active
Expand All @@ -42,6 +42,6 @@ pub mod main_menu {
use super::*;

pub const MENU_TWEEN_TIME: f64 = 0.1;
pub const MENU_TWEEN_TRANS: TransitionType = TransitionType::TRANS_QUAD;
pub const MENU_TWEEN_TRANS: TransitionType = TransitionType::QUAD;
pub const MENU_WAVE_BBCODE: &str = dialogue::DBOX_SELECTION_BBCODE;
}

0 comments on commit dfb6d04

Please sign in to comment.