on xenial help sign in
make longpress open on the audio button open the preview
23913a0Michael Zanetti
plugins/Dash/CardCreator.js+3
@@ -141,6 +141,9 @@ var kAudioButtonCode = 'AbstractButton { \n\
141 DashAudioPlayer.playSource(source); \n\
141 DashAudioPlayer.playSource(source); \n\
142 } \n\
142 } \n\
143 } \n\
143 } \n\
144+ onPressAndHold: { \n\
145+ root.pressAndHold(); \n\
146+ } \n\
144 }';
147 }';
145
148
146var kOverlayLoaderCode = 'Loader { \n\
149var kOverlayLoaderCode = 'Loader { \n\
tests/plugins/Dash/cardcreator/8.res+3
@@ -97,6 +97,9 @@ CardAudioProgress {
97 DashAudioPlayer.playSource(source);
97 DashAudioPlayer.playSource(source);
98 }
98 }
99 }
99 }
100+ onPressAndHold: {
101+ root.pressAndHold();
102+ }
100 }UbuntuShape {
103 }UbuntuShape {
101 id: touchdown;
104 id: touchdown;
102 objectName: "touchdown";
105 objectName: "touchdown";