GitLab will continue to be upgraded from 11.4.5-ce.0 on November 25th 2019 at 4.00pm (AEDT) to 5.00pm (AEDT) due to Critical Security Patch Availability. During the update, GitLab and Mattermost services will not be available.

Commit c6c7c7d3 authored by qinsoon's avatar qinsoon

fix bug in previous commits

parent 8825e1d3
Pipeline #1156 failed with stages
in 24 minutes and 45 seconds
......@@ -52,7 +52,10 @@ fn is_precolored(reg: MuID) -> bool {
fn is_usable(reg: MuID) -> bool {
if backend::all_usable_regs().iter().any(|x| == reg) {
if backend::all_usable_regs()
.any(|x| == backend::get_color_for_precolored(reg))
} else {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment