Fix pointer being shown when tapping map controls on touch devices

This commit is contained in:
Mitchell McCaffrey 2020-11-19 15:08:03 +11:00
parent b6b68014ed
commit 1db2fb04d2

View File

@ -44,7 +44,7 @@ function MapPointer({
}
function handleBrushMove() {
onPointerMove && onPointerMove(getBrushPosition());
onPointerMove && visible && onPointerMove(getBrushPosition());
}
function handleBrushUp() {