Skip to content

Commit 9c1a19c

Browse files
committed
Added color for info box.
1 parent f12e6f6 commit 9c1a19c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drawings/simple_graph.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ Drawing.SimpleGraph = function(options) {
246246

247247
function render() {
248248
if(!graph.layout.finished) {
249-
info_text.calc = "Calculating layout...";
249+
info_text.calc = "<span style='color: red'>Calculating layout...</span>";
250250
graph.layout.generate();
251251
} else {
252252
info_text.calc = "";

drawings/sphere_graph.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ Drawing.SphereGraph = function(options) {
378378

379379
function render() {
380380
if(!graph.layout.finished) {
381-
info_text.calc = "Calculating layout...";
381+
info_text.calc = "<span style='color: red'>Calculating layout...</span>";
382382
graph.layout.generate();
383383
} else {
384384
info_text.calc = "";

0 commit comments

Comments
 (0)