Skip to content

Commit 9165e4e

Browse files
committed
bugfix(anchor): Default anchor to center
1 parent c840315 commit 9165e4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

oxirun/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const WINDOW_LAYER: Layer = Layer::Overlay;
3535
const WINDOW_KEYBAORD_MODE: KeyboardInteractivity = KeyboardInteractivity::Exclusive;
3636

3737
pub fn main() -> Result<(), iced_layershell::Error> {
38-
let default_anchor = Anchor::Left | Anchor::Right;
38+
let default_anchor = Anchor::empty();
3939
let binding = CONFIG;
4040
let anchor_opt = binding.get("anchor");
4141
let anchor = if let Some(anchor_str) = anchor_opt {

0 commit comments

Comments
 (0)