mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-09 18:07:48 -06:00
fix: remove ConsoleInit condition, add ToggleFullscreen condition, helper 'push' just recipe
This commit is contained in:
3
Justfile
3
Justfile
@@ -42,3 +42,6 @@ web *args:
|
||||
fix:
|
||||
cargo fix --workspace --lib --allow-dirty
|
||||
cargo fmt --all
|
||||
|
||||
push:
|
||||
git push origin --tags && git push
|
||||
|
||||
@@ -54,7 +54,6 @@ pub enum AssetError {
|
||||
#[derive(thiserror::Error, Debug)]
|
||||
pub enum PlatformError {
|
||||
#[error("Console initialization failed: {0}")]
|
||||
#[cfg(any(windows, target_os = "emscripten"))]
|
||||
ConsoleInit(String),
|
||||
}
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@ pub enum GameCommand {
|
||||
/// TODO: Display pause state, fix debug rendering pause distress
|
||||
TogglePause,
|
||||
/// Toggle fullscreen mode (desktop only)
|
||||
#[cfg(not(target_os = "emscripten"))]
|
||||
ToggleFullscreen,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user