Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit b310bfb

Browse files
author
Joshua Campbell
committed
Only check for 'black' and '#000000'
1 parent c8a4513 commit b310bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/ext_data/threejs/threejs_template.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
function addLabel( text, x, y, z, color='black', fontsize=14 ) {
126126

127127
if ( options.theme === 'dark' )
128-
if ( color === 'black' || color === '#000' || color === '#000000' )
128+
if ( color === 'black' || color === '#000000' )
129129
color = 'white';
130130

131131
var canvas = document.createElement( 'canvas' );

0 commit comments

Comments
 (0)