refactor(views): move full height detection to rendererer

This commit is contained in:
Elian Doran
2025-07-14 12:56:17 +03:00
parent b29c3eff6e
commit 8c56315313
5 changed files with 7 additions and 18 deletions

View File

@@ -39,11 +39,6 @@ export default abstract class ViewMode<T extends object> extends Component {
// Do nothing by default.
}
get isFullHeight() {
// Override to change its value.
return false;
}
get isReadOnly() {
return this.parentNote.hasLabel("readOnly");
}