add red outline when controling.

This commit is contained in:
Miroslav Šedivý 2021-02-10 20:54:44 +01:00
parent c18213af63
commit becc18a928

View File

@ -2,6 +2,7 @@
<div
ref="overlay"
class="overlay"
:class="isControling ? 'active' : ''"
tabindex="0"
:style="{ cursor }"
@click.stop.prevent
@ -27,6 +28,11 @@
width: 100%;
height: 100%;
outline: 0;
&.active {
outline: 2px solid red;
box-sizing: border-box;
}
}
</style>