Fix tape persistence

This commit is contained in:
Fingercomp 2023-10-15 21:11:18 +07:00
parent 7e0b650fda
commit a18af06e72
No known key found for this signature in database
GPG Key ID: BBC71CEE45D86E37

View File

@ -24,6 +24,10 @@ class TapeItem(var tape: Tape) extends Item with ComponentItem {
tooltip.addLine(s"Label: ${tape.label}")
}
for (storageId <- tape.storageId) {
tooltip.addLine(s"ID: $storageId")
}
tooltip.addLine(s"Size: ${formatSize(tape.size)}")
tooltip.addLine(f"Length: ${tape.lengthMinutes}%.0f minutes")
}