import QtQuick
import QtQuick.Controls
import ISC

// Slider styled to match MapTab's right-rail heatmap slider (circular
// accent handle that grows slightly on press).
Slider {
    id: panelSlider
    handle: Rectangle {
        x: panelSlider.leftPadding + panelSlider.visualPosition * (panelSlider.availableWidth - width)
        y: panelSlider.topPadding + panelSlider.availableHeight / 2 - height / 2
        implicitWidth: 18
        implicitHeight: 18
        radius: 9
        color: Theme.primaryAccent
        scale: panelSlider.pressed ? 1.15 : 1.0
        Behavior on scale { NumberAnimation { duration: Theme.durationFast; easing.type: Theme.easeStandard } }
    }
}
