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