Clean up ClideHandle.

This commit is contained in:
2026-02-08 10:08:47 -05:00
parent a63acb18fc
commit 344efc0042
3 changed files with 6 additions and 21 deletions

View File

@@ -15,25 +15,14 @@ SplitView {
// Path to the directory of the project opened in clide.
required property string projectDir
Layout.fillHeight: true
Layout.fillWidth: true
anchors.fill: parent
// Customized handle to drag between the Navigation and the Editor.
handle: Rectangle {
handle: ClideHandle {
id: verticalSplitHandle
border.color: SplitHandle.pressed ? RustColors.pressed : SplitHandle.hovered ? RustColors.hovered : RustColors.gutter
color: SplitHandle.pressed ? RustColors.pressed : SplitHandle.hovered ? RustColors.hovered : RustColors.gutter
implicitWidth: 8
radius: 2.5
// Execute these behaviors when the color is changed.
Behavior on color {
ColorAnimation {
duration: 400
}
}
hovered: SplitHandle.hovered
pressed: SplitHandle.pressed
}
Rectangle {