ui: +300px di altezza di base per finestra desktop e spartito

Finestra desktop 1024x1068 (era 768) e fallback del viewport
spartito a 640dp (era 340).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
lucianoandClaude Fable 5 committed 2026-07-22 21:18:39 +02:00
1 parent 88196f0f51
commit 37f8b4645d
2 files changed
+2 -2

No files matched your search

@@ -15,7 +15,7 @@ fun main() = application {
Window( Window(
onCloseRequest = ::exitApplication, onCloseRequest = ::exitApplication,
title = "InTono", title = "InTono",
state = rememberWindowState(width = 1024.dp, height = 768.dp), state = rememberWindowState(width = 1024.dp, height = 1068.dp),
) { ) {
NoteMusicaliTheme { NoteMusicaliTheme {
Surface( Surface(
@@ -32,7 +32,7 @@ fun StaffFullView(
beats: Int = 4, beats: Int = 4,
beatType: Int = 4, beatType: Int = 4,
// Altezza massima visibile: oltre, lo spartito scorre da solo seguendo la nota corrente // Altezza massima visibile: oltre, lo spartito scorre da solo seguendo la nota corrente
maxVisibleHeight: Dp = 340.dp, maxVisibleHeight: Dp = 640.dp,
) { ) {
if (notes.isEmpty()) return if (notes.isEmpty()) return