C++ / fmt (pull_request) Failing after 6s
C++ / build (pull_request) Failing after 9s
C++ / clang-tidy (pull_request) Failing after 10s
JS/TS / fmt (pull_request) Successful in 13s
JS/TS / lint (pull_request) Successful in 8s
Python / static (pull_request) Successful in 30s
Rust / build (pull_request) Successful in 49s
Rust / fmt (pull_request) Successful in 26s
Python / verify (pull_request) Successful in 1m44s
Rust / clippy (pull_request) Successful in 44s
26 lines
439 B
QML
26 lines
439 B
QML
pragma ComponentBehavior: Bound
|
|
|
|
import Quickshell
|
|
import QtQuick
|
|
import ZShell.Internal
|
|
import qs.Components
|
|
|
|
Item {
|
|
id: root
|
|
|
|
readonly property alias content: contentLoader.item
|
|
required property ScreenState screenState
|
|
|
|
Loader {
|
|
id: contentLoader
|
|
|
|
active: root.screenState.isDrawing
|
|
anchors.fill: parent
|
|
|
|
sourceComponent: StrokeCanvas {
|
|
penColor: root.screenState.penColor
|
|
penWidth: root.screenState.penWidth
|
|
}
|
|
}
|
|
}
|