Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lam-station-visualization
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
data-analysis-and-ai
lam-station-visualization
Commits
95462e0e
Commit
95462e0e
authored
6 years ago
by
Janne Alatalo
Browse files
Options
Downloads
Patches
Plain Diff
Add cursor change to pointer when hovering on object
parent
de297a34
No related branches found
No related tags found
No related merge requests found
Pipeline
#4048
passed
6 years ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/PointMap.js
+3
-0
3 additions, 0 deletions
src/PointMap.js
with
3 additions
and
0 deletions
src/PointMap.js
+
3
−
0
View file @
95462e0e
...
@@ -39,6 +39,9 @@ class PointMap extends Component {
...
@@ -39,6 +39,9 @@ class PointMap extends Component {
let
mouseover
=
null
;
let
mouseover
=
null
;
if
(
e
.
picked
)
{
if
(
e
.
picked
)
{
mouseover
=
e
.
object
.
get_id
();
mouseover
=
e
.
object
.
get_id
();
document
.
body
.
style
.
cursor
=
"
pointer
"
;
}
else
{
document
.
body
.
style
.
cursor
=
"
default
"
;
}
}
return
{
...
prevState
,
mouseover
};
return
{
...
prevState
,
mouseover
};
});
});
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment