mirror of
https://github.com/F1bonacc1/process-compose.git
synced 2024-09-11 11:35:26 +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
|
||||
|
||||
go 1.22
|
||||
go 1.21
|
||||
|
||||
require (
|
||||
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.SetBackgroundColorActivated(s.Dialog().ButtonBgColor.Color())
|
||||
for r := range hd.table.GetRowCount() {
|
||||
for c := range hd.table.GetColumnCount() {
|
||||
for r := 0; r < hd.table.GetRowCount(); r++ {
|
||||
for c := 0; c < hd.table.GetColumnCount(); c++ {
|
||||
if c == 1 {
|
||||
hd.table.GetCell(r, c).SetTextColor(s.FgColor())
|
||||
} else if c == 0 {
|
||||
|
@ -23,7 +23,7 @@ func (pv *pcView) StylesChanged(s *config.Styles) {
|
||||
|
||||
func (pv *pcView) setStatTableStyles(s *config.Styles) {
|
||||
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, 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) {
|
||||
pv.procTable.SetBackgroundColor(s.BgColor())
|
||||
for r := range pv.procTable.GetRowCount() {
|
||||
for c := range pv.procTable.GetColumnCount() {
|
||||
for r := 0; r < pv.procTable.GetRowCount(); r++ {
|
||||
for c := 0; c < pv.procTable.GetColumnCount(); c++ {
|
||||
if r == 0 {
|
||||
pv.procTable.GetCell(r, c).SetTextColor(s.Style.ProcTable.HeaderFgColor.Color())
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user