From 020a75ac9323b588cac8e27d251175d0a4a619bd Mon Sep 17 00:00:00 2001 From: zhuzichu Date: Fri, 21 Apr 2023 09:37:10 +0800 Subject: [PATCH] update --- src/controls/FluCarousel.qml | 3 --- src/controls/FluRadioButton.qml | 3 --- src/controls/FluScrollBar.qml | 3 --- src/controls/FluToggleSwitch.qml | 1 - 4 files changed, 10 deletions(-) diff --git a/src/controls/FluCarousel.qml b/src/controls/FluCarousel.qml index e60cd11..759fed8 100644 --- a/src/controls/FluCarousel.qml +++ b/src/controls/FluCarousel.qml @@ -105,9 +105,6 @@ Item { return false return true } - layer.samples: 4 - layer.enabled: true - layer.smooth: true border.width: 1 border.color: FluColors.Grey100 color: list_view.currentIndex === index ? FluTheme.primaryColor.dark : Qt.rgba(1,1,1,0.5) diff --git a/src/controls/FluRadioButton.qml b/src/controls/FluRadioButton.qml index e21ea17..3751ba2 100644 --- a/src/controls/FluRadioButton.qml +++ b/src/controls/FluRadioButton.qml @@ -25,9 +25,6 @@ Button { width: 20 height: 20 radius: 10 - layer.samples: 4 - layer.enabled: true - layer.smooth: true border.width: { if(selected&&disabled){ return 3 diff --git a/src/controls/FluScrollBar.qml b/src/controls/FluScrollBar.qml index f0519e9..0a0d5b3 100644 --- a/src/controls/FluScrollBar.qml +++ b/src/controls/FluScrollBar.qml @@ -90,9 +90,6 @@ ScrollBar { implicitWidth: expand ? 8 : 2 implicitHeight: expand ? 8 : 2 radius: width / 2 - layer.samples: 4 - layer.enabled: true - layer.smooth: true color: control.pressed?handlePressColor:control.hovered?handleHoverColor:handleNormalColor opacity:(control.policy === ScrollBar.AlwaysOn || control.size < 1.0)?1.0:0.0 } diff --git a/src/controls/FluToggleSwitch.qml b/src/controls/FluToggleSwitch.qml index 80588ae..0e34e33 100644 --- a/src/controls/FluToggleSwitch.qml +++ b/src/controls/FluToggleSwitch.qml @@ -31,7 +31,6 @@ Button { width: 40 height: control.height radius: height / 2 - smooth: true FluFocusRectangle{ visible: control.visualFocus radius: 20