Add colors to test result icons
This commit is contained in:
1 parent
4cf4b9e45f
commit
efa4db80de
1 file changed
+4
+4
@@ -19,13 +19,17 @@ end function
|
||||
function OnStateChange()
|
||||
if m.top.state = "loading"
|
||||
m.busySpinner.poster.uri = "pkg:/images/spinner.png"
|
||||
' bs:disable-next-line LINT3023
|
||||
m.busySpinner.poster.blendColor = "#FFFFFFFF"
|
||||
m.busySpinner.control = "start"
|
||||
else if m.top.state = "failed"
|
||||
m.busySpinner.poster.uri = "pkg:/images/icons/test-failed.png"
|
||||
m.busySpinner.poster.blendColor = "#FF0000FF"
|
||||
m.busySpinner.control = "stop"
|
||||
m.busySpinner.poster.rotation = 0
|
||||
else if m.top.state = "passed"
|
||||
m.busySpinner.poster.uri = "pkg:/images/icons/test-passed.png"
|
||||
m.busySpinner.poster.blendColor = "#00FF00FF"
|
||||
m.busySpinner.control = "stop"
|
||||
m.busySpinner.poster.rotation = 0
|
||||
end if
|
||||
|
||||
Reference in new issue
Block a user