Skip to content

Commit 3772e66

Browse files
DEFEDIT-837 Minor polish
1 parent ef11d4d commit 3772e66

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

defold-robot/resources/robot.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,7 @@ code {
4747
font-family: 'Source Sans Pro', sans-serif;
4848
color: var(--defold-white);
4949
}
50+
51+
img {
52+
width: 100%;
53+
}

defold-robot/resources/test.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
}
77
},
88
"steps": [
9-
["await-log" "editor-log" 1000 "Command 2"],
109
["screen-capture" "test"],
1110
],
1211
"old": [
12+
["await-log" "editor-log" 5000 "Command 2"],
1313
["switch-focus" 1],
1414
["press" "Shortcut+Shift+R"],
1515
["type" ".coll"],

defold-robot/src/defold_robot/robot.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
dest-name (format "%s.png" filename)
8787
dest (File. out-dir dest-name)]
8888
(log-fn (format "<p>Screen-capture %s</p>" dest-name))
89-
(log-fn (format "<img src=\"%s\">" dest-name))
89+
(log-fn (format "<img src=\"%s\"></img>" dest-name))
9090
(ImageIO/write img "png" dest))
9191
true)
9292

0 commit comments

Comments
 (0)