on master help sign in
make sure clicks are registered on buttons
e297564Evan Czaplicki
libraries/Native/Graphics/Input.js+8
@@ -120,6 +120,14 @@ Elm.Native.Graphics.Input = function(elm) {
120 btn.addEventListener('mouseup' , up);
120 btn.addEventListener('mouseup' , up);
121
121
122 btn.appendChild(btn.elmUp);
122 btn.appendChild(btn.elmUp);
123+
124+ var clicker = newNode('div');
125+ clicker.style.width = btn.elmUp.style.width;
126+ clicker.style.height = btn.elmUp.style.height;
127+ clicker.style.position = 'absolute';
128+ clicker.style.top = 0;
129+ btn.appendChild(clicker);
130+
123 return btn;
131 return btn;
124 }
132 }
125
133