1
Fork 0
mirror of https://github.com/RGBCube/color.v synced 2025-07-31 09:57:47 +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
}
pub fn (p &BrushImpl) render(msg string) string {
fn (p &BrushImpl) render(msg string) string {
return if no_color || p.disabled {
msg
} 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
}