refactor: use colornames from theme and set play/resume button to green

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
This commit is contained in:
steadyjaw committed 2021-11-09 21:55:02 +01:00
1 parent 39ede45e73
commit 88fb3f3d1f
1 file changed
+4 -4
+4 -4
View File
@@ -363,28 +363,28 @@ export default class StatusPanel extends Mixins(BaseMixin) {
return [
{
text: this.$t('Panels.StatusPanel.PausePrint'),
color: 'orange',
color: 'warning',
icon: 'mdi-pause',
loadingName: 'statusPrintPause',
status: ['printing'],
click: this.btnPauseJob
}, {
text: this.$t('Panels.StatusPanel.ResumePrint'),
color: 'orange',
color: 'success',
icon: 'mdi-play',
loadingName: 'statusPrintResume',
status: ['paused'],
click: this.btnResumeJob
}, {
text: this.$t('Panels.StatusPanel.ExcludeObject.ExcludeObject'),
color: 'orange',
color: 'warning',
icon: 'mdi-selection-remove',
loadingName: '',
status: this.printing_objects.length ? ['paused', 'printing'] : [],
click: this.btnExcludeObject
}, {
text: this.$t('Panels.StatusPanel.CancelPrint'),
color: 'red',
color: 'error',
icon: 'mdi-stop',
loadingName: 'statusPrintCancel',
status: this.$store.state.gui.general.displayCancelPrint ? ['paused', 'printing'] : ['paused'],