mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
groovebox: autoslice!
This commit is contained in:
parent
5a360d02fa
commit
7495dd10f2
3 changed files with 36 additions and 26 deletions
|
|
@ -189,6 +189,9 @@ impl App {
|
|||
fn w_sidebar (&self) -> u16 {
|
||||
self.project.w_sidebar(self.editor.is_some())
|
||||
}
|
||||
fn h_sample_detail (&self) -> u16 {
|
||||
4.max(self.height() as u16 * 3 / 9)
|
||||
}
|
||||
fn focus_editor (&self) -> bool {
|
||||
self.is_editing()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue