We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Я использовал HTML5 билд и Андроид. Если у кнопки в стилях прописан звук, вот так:
on_click = function(self, node) local scale_to = self.start_scale + M.button.SCALE_CHANGE button_tap_anim(node, scale_to, self.start_scale) sound.play("main:/sounds#enable_btn") end, on_click_disabled = function(self, node) sound.play("main:/sounds#disable_btn") end,
И при срабатывании touch на кнопке, она отключается через set_enabled(false), то срабатывает два звука.
The text was updated successfully, but these errors were encountered:
Insality
No branches or pull requests
Я использовал HTML5 билд и Андроид.
Если у кнопки в стилях прописан звук, вот так:
И при срабатывании touch на кнопке, она отключается через set_enabled(false), то срабатывает два звука.
The text was updated successfully, but these errors were encountered: