Skip to content

Commit 9b9a52d

Browse files
fix: use source-over instead of normal
1 parent 15b589a commit 9b9a52d

File tree

2 files changed

+2
-3
lines changed
  • invokeai/frontend/web

2 files changed

+2
-3
lines changed

invokeai/frontend/web/public/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2207,7 +2207,7 @@
22072207
"add": "Add Blend Mode",
22082208
"remove": "Remove Blend Mode",
22092209
"blendModes": {
2210-
"normal": "Normal",
2210+
"source-over": "Normal",
22112211
"color": "Color",
22122212
"hue": "Hue",
22132213
"overlay": "Overlay",

invokeai/frontend/web/src/features/controlLayers/store/types.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,6 @@ export type RasterLayerAdjustments = z.infer<typeof zRasterLayerAdjustments>;
491491
* NOTE: All of these are supported by canvas layers, but not all are supported by CSS blend modes (live rendering).
492492
*/
493493
const COMPOSITE_OPERATIONS = [
494-
'normal',
495494
'darken',
496495
'multiply',
497496
'color-burn',
@@ -524,7 +523,7 @@ export type CompositeOperation = (typeof COMPOSITE_OPERATIONS)[number];
524523

525524
// Subset of color blend modes for UI selection. All are supported by both Konva and CSS.
526525
export const COLOR_BLEND_MODES: CompositeOperation[] = [
527-
'normal',
526+
'source-over',
528527
'darken',
529528
'multiply',
530529
'color-burn',

0 commit comments

Comments
 (0)