Skip to content

Commit

Permalink
Fix icon mask naming in 'x_grab_color'.
Browse files Browse the repository at this point in the history
  • Loading branch information
dtschump committed Sep 24, 2022
1 parent 022e3f3 commit 64372d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gmic_stdlib.gmic
Original file line number Diff line number Diff line change
Expand Up @@ -32105,7 +32105,7 @@ x_grab_color : skip ${1=xgc_variable} check_display $0
e[^-1] "Open "${arg\ {0,s},GRAY,GRAYA,RGB,RGBA}" color grabber widget for image$?, with variable name '$1'."

if !{*} w[] ${fitscreen[]\ {[w,h,1]},128,50%},0,0,-1,-1,"Grab a color" fi
_x_grab_color +dilate. 3 => icon_mask *.. 255 to_rgb.. => icon_sprite
_x_grab_color +dilate. 3 => icon_mask *.. 255 to_rgb.. =>.. icon_sprite

xc=5 yc=5 o$1=$$1

Expand Down

0 comments on commit 64372d3

Please sign in to comment.