1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-25 05:52:50 -05:00

slideout: animate content not loader

This commit is contained in:
bbedward
2025-11-08 22:39:01 -05:00
parent c8e382e2dd
commit 0ea7de12a5
6 changed files with 88 additions and 91 deletions

View File

@@ -15,7 +15,6 @@ pragma ComponentBehavior: Bound
Item {
id: root
property real devicePixelRatio: 1
property bool fileDialogOpen: false
property string currentFileName: ""
property url currentFileUrl
@@ -151,7 +150,6 @@ Item {
id: tabBar
width: parent.width
contentLoaded: textEditor.contentLoaded
devicePixelRatio: root.devicePixelRatio
onTabSwitched: (tabIndex) => {
switchToTab(tabIndex)
@@ -170,7 +168,6 @@ Item {
id: textEditor
width: parent.width
height: parent.height - tabBar.height - Theme.spacingM * 2
devicePixelRatio: root.devicePixelRatio
onSaveRequested: {
if (currentTab && !currentTab.isTemporary && currentTab.filePath) {
@@ -217,7 +214,6 @@ Item {
id: notepadSettings
anchors.fill: parent
isVisible: showSettingsMenu
devicePixelRatio: root.devicePixelRatio
onSettingsRequested: showSettingsMenu = !showSettingsMenu
onFindRequested: {
showSettingsMenu = false

View File

@@ -9,7 +9,6 @@ pragma ComponentBehavior: Bound
Item {
id: root
property real devicePixelRatio: 1
property bool isVisible: false
property var cachedFontFamilies: []
property var cachedMonoFamilies: []

View File

@@ -9,7 +9,6 @@ pragma ComponentBehavior: Bound
Column {
id: root
property real devicePixelRatio: 1
property var currentTab: NotepadStorageService.tabs.length > NotepadStorageService.currentTabIndex ? NotepadStorageService.tabs[NotepadStorageService.currentTabIndex] : null
property bool contentLoaded: false

View File

@@ -11,7 +11,6 @@ pragma ComponentBehavior: Bound
Column {
id: root
property real devicePixelRatio: 1
property alias text: textArea.text
property alias textArea: textArea
property bool contentLoaded: false