Skip to content

Commit

Permalink
update changelog, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
hertg committed Apr 23, 2023
1 parent ab8e9a8 commit 2e15a83
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## :lady_beetle: Fixes
## :boom: Breaking Changes

- Fix issue where the `x` offset of the container was ignored ([#15](https://github.com/leftwm/leftwm-layouts/issues/15))
- Method `Layout::set_main_size(&mut self, px: i32)` was removed, use `set_main_size(&mut self, size: Size)` instead

## :sparkles: Features

- Add `Layout::main_size() -> Option<Size>` shorthand method
- Add `Layout::main_window_count() -> Option<usize>` shorthand method
- Add `Layout::set_main_size(&mut self, size: Size)` to set main size to specific size
- Add `Layout::change_main_size(&mut self, delta: i32, upper_bound: i32)` to change size by delta
- Improve documentation in source code
- Add more tests
2 changes: 1 addition & 1 deletion leftwm-layouts/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "leftwm-layouts"
version = "0.7.1"
version = "0.8.0"
edition = "2021"

license = "BSD-3-Clause"
Expand Down

0 comments on commit 2e15a83

Please sign in to comment.