Skip to content

Commit

Permalink
fix(filters) RemoveColor has missing getFragmentSource method ( typo ) (
Browse files Browse the repository at this point in the history
  • Loading branch information
271642183 authored Jun 7, 2024
1 parent bac303b commit 3d308ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## [next]

- fix(filters): RemoveColor has missing getFragmentSource method ( typo ) [#9911](https://github.com/fabricjs/fabric.js/pull/9911)
- types(): Make event type explicit - non generic, and fix pattern fromObject type [#9907](https://github.com/fabricjs/fabric.js/pull/9907)

## [6.0.0-rc2]
Expand Down
6 changes: 3 additions & 3 deletions src/filters/RemoveColor.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { classRegistry } from '../ClassRegistry';
import { Color } from '../color/Color';
import type { TClassProperties } from '../typedefs';
import { BaseFilter } from './BaseFilter';
import type { T2DPipelineState, TWebGLUniformLocationMap } from './typedefs';
import { classRegistry } from '../ClassRegistry';
import { fragmentShader } from './shaders/removeColor';
import type { T2DPipelineState, TWebGLUniformLocationMap } from './typedefs';
export const removeColorDefaultValues: Partial<TClassProperties<RemoveColor>> =
{
color: '#FFFFFF',
Expand Down Expand Up @@ -45,7 +45,7 @@ export class RemoveColor extends BaseFilter {

static defaults = removeColorDefaultValues;

getFragmentShader() {
getFragmentSource() {
return fragmentShader;
}

Expand Down

0 comments on commit 3d308ae

Please sign in to comment.