don't allow selection on sim-text/sim-text-pin (#531)

This commit is contained in:
Peli de Halleux 2017-09-07 14:20:39 -07:00 committed by GitHub
parent a60346d4f4
commit 9a9b116ee6

View File

@ -64,7 +64,6 @@ namespace pxsim.visuals {
font-family:"Lucida Console", Monaco, monospace; font-family:"Lucida Console", Monaco, monospace;
font-size:25px; font-size:25px;
fill:#fff; fill:#fff;
user-select: none;
pointer-events: none; pointer-events: none;
} }
@ -150,7 +149,7 @@ namespace pxsim.visuals {
stroke: #4D90FE; stroke: #4D90FE;
stroke-width: 5px !important; stroke-width: 5px !important;
} }
.no-drag { .no-drag, .sim-text, .sim-text-pin {
user-drag: none; user-drag: none;
user-select: none; user-select: none;
-moz-user-select: none; -moz-user-select: none;