diff options
author | JeffB42 <10328858+JeffB42@users.noreply.github.com> | 2020-07-31 06:50:42 +0300 |
---|---|---|
committer | JeffB42 <10328858+JeffB42@users.noreply.github.com> | 2020-07-31 06:50:42 +0300 |
commit | 238a76063bbf03c026c2e72c230c7e313a4d1fde (patch) | |
tree | 52d3814550eba4900cb0737c8c5ea3334039d289 | |
parent | ecb44557ad2ca7d13a0cc8f17d18a2b7bb65b675 (diff) |
changed filename clip length to 20 to prevent going past screen bounds
-rw-r--r-- | ui/print_status.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/print_status.go b/ui/print_status.go index 9805d82..36bb391 100644 --- a/ui/print_status.go +++ b/ui/print_status.go @@ -259,7 +259,7 @@ func (m *printStatusPanel) updateJob() { if s.Job.File.Name != "" { file = s.Job.File.Name file = strings.Replace(file, ".gcode", "", -1) - file = strEllipsisLen(file, 35) + file = strEllipsisLen(file, 20) } m.file.Label.SetLabel(file) |