From 9a9b116ee6a91e04f3f5d3ee7e4e35b297162dda Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 7 Sep 2017 14:20:39 -0700 Subject: [PATCH] don't allow selection on sim-text/sim-text-pin (#531) --- sim/visuals/microbit.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sim/visuals/microbit.ts b/sim/visuals/microbit.ts index b50ab0b4..8dd66fe0 100644 --- a/sim/visuals/microbit.ts +++ b/sim/visuals/microbit.ts @@ -64,7 +64,6 @@ namespace pxsim.visuals { font-family:"Lucida Console", Monaco, monospace; font-size:25px; fill:#fff; - user-select: none; pointer-events: none; } @@ -150,7 +149,7 @@ namespace pxsim.visuals { stroke: #4D90FE; stroke-width: 5px !important; } - .no-drag { + .no-drag, .sim-text, .sim-text-pin { user-drag: none; user-select: none; -moz-user-select: none;