mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
deleted some irrelevant comments in buttons.ts
This commit is contained in:
parent
03234de5de
commit
5f3aa818f7
1 changed files with 0 additions and 6 deletions
|
@ -168,12 +168,6 @@ export function renderButtons(
|
||||||
|
|
||||||
// Changing color based on mode
|
// Changing color based on mode
|
||||||
if(isColourBlindMode){
|
if(isColourBlindMode){
|
||||||
/*colour = [
|
|
||||||
colorBlindColors.mature, // darker red, again button
|
|
||||||
colorBlindColors.suspended, // lighter beige/yellow, hard button
|
|
||||||
colorBlindColors.new, // light blue, good button
|
|
||||||
colorBlindColors.relearn // green, easy button
|
|
||||||
]*/
|
|
||||||
colour = scaleSequential(interpolateViridis).domain([1, 4]);
|
colour = scaleSequential(interpolateViridis).domain([1, 4]);
|
||||||
} else {
|
} else {
|
||||||
colour = scaleSequential(interpolateRdYlGn).domain([1, 4]);
|
colour = scaleSequential(interpolateRdYlGn).domain([1, 4]);
|
||||||
|
|
Loading…
Reference in a new issue