Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent Text From being highlighted #100

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,9 @@ p {
left: 0px;
z-index: -1;
}
.no-highlight{
user-select: none;
-moz-user-select: none;
-webkit-text-select: none;
-webkit-user-select: none;
}
8 changes: 4 additions & 4 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</head>
<body>
<header id="header">
<p>Peirce My Heart</p>
<p class="no-highlight">Peirce My Heart</p>
</header>
<div id="sidebar">
<div class="row">
Expand All @@ -32,13 +32,13 @@
<div id="toolbar">
<div id="cutTools">
<div class="toolSetting">
<p>Show Guidelines:</p>
<p class="no-highlight">Show Guidelines:</p>
</div>
<div class="toolSetting">
<input id="showRect" type="checkbox" title="Show Rect"/>
</div>
<div class="toolSetting">
<p>Cut Mode:</p>
<p class="no-highlight">Cut Mode:</p>
</div>
<div class="toolSetting">
<select id="mode" name="guideSelector">
Expand All @@ -47,7 +47,7 @@
</select>
</div>
<div class="toolSetting">
<p id="graphString"></p>
<p class="no-highlight" id="graphString"></p>
</div>
</div>
</div>
Expand Down