Element.setCapture() is deprecated. Use Element.setPointerCapture() instead. For more help https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture
Mae Element.setCapture () yn anghymeradwy. Defnyddiwch Element.setPointerCapture () yn ei le. Am ragor o gymorth https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture