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