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:
parent
bd8db0703f
commit
d411886407
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue