@ -25,6 +25,8 @@ import org.kde.plasma.components 2.0 as PlasmaComponents
import org . kde . plasma . plasmoid 2.0
import org . kde . plasma . private . taskmanager 0.1 as TaskManagerApplet
import org . kde . kirigami 2.0 as Kirigami
import org . kde . latte . core 0.2 as LatteCore
import org . kde . latte . components 1.0 as LatteComponents
@ -74,13 +76,13 @@ Item {
}
}
PlasmaCore. IconItem {
Kirigami. Icon {
id: taskIconItem
anchors.fill: parent
roundToIconSize: fals e
/ / r o u n d T o I c o n S i z e : f a l s e
/ / ! T r y i n g t o p r o v i d e c r i s p i c o n s f o r r e g u l a r a n d z o o m e d s i z e a n d s m o o t h a p p e a r a n c e i n - b e t w e e n
/ / ! b u g : 4 3 2 4 7 7
smooth: size !== taskItem . abilities . metrics . iconSize && size !== ( taskItem . abilities . metrics . iconSize * taskItem . abilities . parabolic . zoom )
/ / s m o o t h : s i z e ! = = t a s k I t e m . a b i l i t i e s . m e t r i c s . i c o n S i z e & & s i z e ! = = ( t a s k I t e m . a b i l i t i e s . m e t r i c s . i c o n S i z e * t a s k I t e m . a b i l i t i e s . p a r a b o l i c . z o o m )
source: decoration
visible: ! badgesLoader . active
@ -160,13 +162,13 @@ Item {
enabled: false
anchors.fill: parent
property var source: ShaderEffectSource {
sourceItem: PlasmaCore. IconItem {
width: taskIcon Container . width
height: taskIcon Container . height
sourceItem: Kirigami. Icon {
width: taskIcon Item . width
height: taskIcon Item . height
smooth: taskIconItem . smooth
source: taskIconItem . source
roundToIconSize: taskIconItem . roundToIconSiz e
active: taskIconItem . roundToIconSiz e
/ / r o u n d T o I c o n S i z e : t a s k I c o n I t e m . r o u n d T o I c o n S i z e
active: taskIconItem . activ e
Loader {
anchors.fill: parent
@ -390,7 +392,6 @@ Item {
lightness: 0
}
/ / R e l y o n P l a s m a C o r e . I c o n I t e m h o v e r i n g a n i m a t i o n f o r n o w
BrightnessContrast {
id:hoveredImage
anchors.fill: parent