We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d392dc3 commit b13b3b6Copy full SHA for b13b3b6
apps/gamut-mapping/index.html
@@ -50,7 +50,7 @@ <h2>Gamut mapped</h2>
50
positive: delta > 0,
51
negative: delta < 0,
52
zero: delta === 0,
53
- min: minDeltas[c] === delta,
+ min: minDeltas[c] === abs(delta),
54
}">{{ delta }}</dd>
55
</template>
56
</dl>
apps/gamut-mapping/index.js
@@ -103,6 +103,7 @@ let app = createApp({
103
104
methods: {
105
toPrecision: Color.util.toPrecision,
106
+ abs: Math.abs
107
},
108
109
watch: {
0 commit comments