fewieden / MMM-AlarmClock

Alarm Clock Module for MagicMirror²
MIT License
47 stars 18 forks source link

turn off the alarm by clicking on the USB mouse #11

Closed stefanJi closed 6 years ago

stefanJi commented 6 years ago

Platform (Hardware/OS): RaspberryPi 3 Model B+, Raspbian

Node version: 8.10.0

MagicMirror version: 2.2.2

Module version: 1.1.0

Description of the issue: Hope to turn off the alarm by clicking on the USB mouse.

stefanJi commented 6 years ago

I found a way. Because MagicMirror default hides the mouse, so need to let the mouse display.

MagicMirror/css/custom.css

 body {
    cursor: default;
   //or
   //cursor: hide;
 }