aboutsummaryrefslogtreecommitdiff
path: root/src/services/style_setter/style_setter.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2020-01-23 00:35:56 +0200
committerHenry Jameson <me@hjkos.com>2020-01-23 00:35:56 +0200
commit7354b6f7062def8bd1ac0a0e457cd05256eba0d5 (patch)
treeb1c71dd00ba5246c288f79d4e0e8ce7b0886435d /src/services/style_setter/style_setter.js
parent8de7eabd8fdfc9f97fb262552f0cca9fd6da95eb (diff)
fixed get(Layer|Opacity)Slot not working properly which broke Mojave theme
Diffstat (limited to 'src/services/style_setter/style_setter.js')
-rw-r--r--src/services/style_setter/style_setter.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/services/style_setter/style_setter.js b/src/services/style_setter/style_setter.js
index b43eb0dd..7f9f17be 100644
--- a/src/services/style_setter/style_setter.js
+++ b/src/services/style_setter/style_setter.js
@@ -392,16 +392,6 @@ export const colors2to3 = (colors) => {
...btnStates.reduce((stateAcc, state) => ({ ...stateAcc, ['btn' + state]: color }), {})
}
case 'btnText':
- console.log(
- btnPositions
- .map(position => btnStates.map(state => state + position))
- .flat()
- .reduce(
- (statePositionAcc, statePosition) =>
- ({ ...statePositionAcc, ['btn' + statePosition + 'Text']: color })
- , {}
- )
- )
return {
...acc,
...btnPositions
@@ -414,7 +404,6 @@ export const colors2to3 = (colors) => {
)
}
default:
- console.log('aaa', slotName, color, acc)
return { ...acc, [slotName]: color }
}
}, {})