File tree 6 files changed +40
-3
lines changed
openc3-cosmos-init/plugins/packages
openc3-cosmos-demo/targets
openc3-tool-common/src/components
6 files changed +40
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ HORIZONTAL
11
11
SETTING SCREEN <%= target_name %> LIMITS
12
12
SETTING TLM <%= target_name %> HEALTH_STATUS TEMP1
13
13
ROLLUP equipment "Processor" "CPU"
14
- SETTING SCREEN <%= target_name %> ADCS
14
+ # No SCREEN should display without pointer cursor
15
15
SETTING TLM <%= target_name %> HEALTH_STATUS TEMP4
16
16
ROLLUP satellite-transmit "Satellite" "all temps"
17
17
SETTING SCREEN <%= target_name %> HS
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ HORIZONTAL
11
11
SETTING SCREEN <%= target_name %> LIMITS
12
12
SETTING TLM <%= target_name %> HEALTH_STATUS TEMP1
13
13
ROLLUP equipment "Processor" "CPU"
14
- SETTING SCREEN <%= target_name %> ADCS
14
+ # No SCREEN should display without pointer cursor
15
15
SETTING TLM <%= target_name %> HEALTH_STATUS TEMP4
16
16
ROLLUP satellite-transmit "Satellite" "all temps"
17
17
SETTING SCREEN <%= target_name %> HS
Original file line number Diff line number Diff line change 25
25
26
26
<template>
27
27
<div :style="computedStyle" ref="bar">
28
- <v-card :min-height="height" :min-width="width">
28
+ <v-card :min-height="height" :min-width="width" style="cursor: default" >
29
29
<v-system-bar>
30
30
<div v-show="errors.length !== 0">
31
31
<v-tooltip top>
Original file line number Diff line number Diff line change 28
28
:y="parameters[2]"
29
29
:width="width"
30
30
:height="height"
31
+ :style="pointerStyle"
31
32
@click="clickHandler"
32
33
/>
33
34
</template>
@@ -58,6 +59,17 @@ export default {
58
59
}
59
60
return '100%'
60
61
},
62
+ pointerStyle() {
63
+ if (this.screenTarget && this.screenName) {
64
+ return {
65
+ cursor: 'pointer',
66
+ }
67
+ } else {
68
+ return {
69
+ cursor: 'default',
70
+ }
71
+ }
72
+ },
61
73
},
62
74
created: function () {
63
75
// Look through the settings and get a reference to the screen
Original file line number Diff line number Diff line change 31
31
:y="image.y"
32
32
:width="image.width"
33
33
:height="image.height"
34
+ :style="pointerStyle"
34
35
@click="clickHandler"
35
36
/>
36
37
<image
41
42
:y="defaultImage.y"
42
43
:width="defaultImage.width"
43
44
:height="defaultImage.height"
45
+ :style="pointerStyle"
44
46
@click="clickHandler"
45
47
/>
46
48
</g>
@@ -72,6 +74,17 @@ export default {
72
74
showDefault: function () {
73
75
return !this.images.some((image) => image.value == this.selectedValue)
74
76
},
77
+ pointerStyle() {
78
+ if (this.screenTarget && this.screenName) {
79
+ return {
80
+ cursor: 'pointer',
81
+ }
82
+ } else {
83
+ return {
84
+ cursor: 'default',
85
+ }
86
+ }
87
+ },
75
88
},
76
89
created: function () {
77
90
// Look through the settings and get a reference to the screen
Original file line number Diff line number Diff line change 21
21
v-bind="attrs"
22
22
v-on="on"
23
23
class="rux-icon"
24
+ :style="pointerStyle"
24
25
:icon="icon"
25
26
:status="status"
26
27
:label="label"
@@ -76,6 +77,17 @@ export default {
76
77
}
77
78
return state
78
79
},
80
+ pointerStyle() {
81
+ if (this.screenTarget && this.screenName) {
82
+ return {
83
+ cursor: 'pointer',
84
+ }
85
+ } else {
86
+ return {
87
+ cursor: 'default',
88
+ }
89
+ }
90
+ },
79
91
},
80
92
created: function () {
81
93
this.icon = this.parameters[0]
You can’t perform that action at this time.
0 commit comments