1
Fork 0
mirror of https://github.com/RGBCube/color.v synced 2025-08-01 10:27:45 +00:00

Remove redundant pub

This commit is contained in:
RGBCube 2022-11-20 20:59:09 +03:00
parent bd8db0703f
commit d411886407

View file

@ -41,7 +41,7 @@ mut:
disabled bool disabled bool
} }
pub fn (p &BrushImpl) render(msg string) string { fn (p &BrushImpl) render(msg string) string {
return if no_color || p.disabled { return if no_color || p.disabled {
msg msg
} else { } else {
@ -58,6 +58,6 @@ pub fn (p &BrushImpl) render(msg string) string {
} }
} }
pub fn (mut p &BrushImpl) set_disabled(value bool) { fn (mut p &BrushImpl) set_disabled(value bool) {
p.disabled = value p.disabled = value
} }