colorize!

develop
Myk 2023-07-16 14:22:10 -07:00 committed by GitHub
parent a017700dc6
commit ce12cd6e29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

@ -285,9 +285,9 @@ function Pasture:init()
key='CUSTOM_SHIFT_N', key='CUSTOM_SHIFT_N',
label='Egg layers:', label='Egg layers:',
options={ options={
{label='Include', value='include'}, {label='Include', value='include', pen=COLOR_GREEN},
{label='Only', value='only'}, {label='Only', value='only', pen=COLOR_YELLOW},
{label='Exclude', value='exclude'}, {label='Exclude', value='exclude', pen=COLOR_RED},
}, },
initial_option='include', initial_option='include',
on_change=self:callback('refresh_list'), on_change=self:callback('refresh_list'),
@ -299,9 +299,9 @@ function Pasture:init()
key='CUSTOM_SHIFT_Y', key='CUSTOM_SHIFT_Y',
label='Grazers:', label='Grazers:',
options={ options={
{label='Include', value='include'}, {label='Include', value='include', pen=COLOR_GREEN},
{label='Only', value='only'}, {label='Only', value='only', pen=COLOR_YELLOW},
{label='Exclude', value='exclude'}, {label='Exclude', value='exclude', pen=COLOR_RED},
}, },
initial_option='include', initial_option='include',
on_change=self:callback('refresh_list'), on_change=self:callback('refresh_list'),