mirror of
https://github.com/F1bonacc1/process-compose.git
synced 2024-10-26 11:39:47 +03:00
revert to go v1.21 until it reaches stable in nix pkgs
This commit is contained in:
parent
7aab5a5187
commit
a804df5d93
2
go.mod
2
go.mod
@ -1,6 +1,6 @@
|
|||||||
module github.com/f1bonacc1/process-compose
|
module github.com/f1bonacc1/process-compose
|
||||||
|
|
||||||
go 1.22
|
go 1.21
|
||||||
|
|
||||||
require (
|
require (
|
||||||
dario.cat/mergo v1.0.0
|
dario.cat/mergo v1.0.0
|
||||||
|
@ -39,8 +39,8 @@ func (hd *helpDialog) StylesChanged(s *config.Styles) {
|
|||||||
|
|
||||||
hd.closeButton.SetLabelColorActivated(s.Dialog().ButtonFgColor.Color())
|
hd.closeButton.SetLabelColorActivated(s.Dialog().ButtonFgColor.Color())
|
||||||
hd.closeButton.SetBackgroundColorActivated(s.Dialog().ButtonBgColor.Color())
|
hd.closeButton.SetBackgroundColorActivated(s.Dialog().ButtonBgColor.Color())
|
||||||
for r := range hd.table.GetRowCount() {
|
for r := 0; r < hd.table.GetRowCount(); r++ {
|
||||||
for c := range hd.table.GetColumnCount() {
|
for c := 0; c < hd.table.GetColumnCount(); c++ {
|
||||||
if c == 1 {
|
if c == 1 {
|
||||||
hd.table.GetCell(r, c).SetTextColor(s.FgColor())
|
hd.table.GetCell(r, c).SetTextColor(s.FgColor())
|
||||||
} else if c == 0 {
|
} else if c == 0 {
|
||||||
|
@ -23,7 +23,7 @@ func (pv *pcView) StylesChanged(s *config.Styles) {
|
|||||||
|
|
||||||
func (pv *pcView) setStatTableStyles(s *config.Styles) {
|
func (pv *pcView) setStatTableStyles(s *config.Styles) {
|
||||||
pv.statTable.SetBackgroundColor(s.BgColor())
|
pv.statTable.SetBackgroundColor(s.BgColor())
|
||||||
for r := range pv.statTable.GetRowCount() {
|
for r := 0; r < pv.statTable.GetRowCount(); r++ {
|
||||||
pv.statTable.GetCell(r, 0).SetTextColor(s.Style.StatTable.KeyFgColor.Color())
|
pv.statTable.GetCell(r, 0).SetTextColor(s.Style.StatTable.KeyFgColor.Color())
|
||||||
pv.statTable.GetCell(r, 1).SetTextColor(s.Style.StatTable.ValueFgColor.Color())
|
pv.statTable.GetCell(r, 1).SetTextColor(s.Style.StatTable.ValueFgColor.Color())
|
||||||
}
|
}
|
||||||
@ -32,8 +32,8 @@ func (pv *pcView) setStatTableStyles(s *config.Styles) {
|
|||||||
|
|
||||||
func (pv *pcView) setProcTableStyles(s *config.Styles) {
|
func (pv *pcView) setProcTableStyles(s *config.Styles) {
|
||||||
pv.procTable.SetBackgroundColor(s.BgColor())
|
pv.procTable.SetBackgroundColor(s.BgColor())
|
||||||
for r := range pv.procTable.GetRowCount() {
|
for r := 0; r < pv.procTable.GetRowCount(); r++ {
|
||||||
for c := range pv.procTable.GetColumnCount() {
|
for c := 0; c < pv.procTable.GetColumnCount(); c++ {
|
||||||
if r == 0 {
|
if r == 0 {
|
||||||
pv.procTable.GetCell(r, c).SetTextColor(s.Style.ProcTable.HeaderFgColor.Color())
|
pv.procTable.GetCell(r, c).SetTextColor(s.Style.ProcTable.HeaderFgColor.Color())
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user