forked from 0x2620/oxjs
add some touch support
- fire touch(start|move|end) events after adding clinetX/Y - use touch events in video and timeline widgets - use touchstart to select item in ArrayEditable
This commit is contained in:
parent
72a7d54025
commit
f043242640
7 changed files with 81 additions and 6 deletions
|
|
@ -215,7 +215,13 @@ Ox.VideoTimelinePlayer = function(options, self) {
|
|||
key_up: function() {
|
||||
self.options.position -= self.contentWidth / self.fps;
|
||||
setPosition();
|
||||
}
|
||||
},
|
||||
touchend: function (e) {
|
||||
mousedown(e);
|
||||
mouseleave();
|
||||
},
|
||||
touchmove: mousedown,
|
||||
touchstart: mousedown
|
||||
});
|
||||
|
||||
self.$playerbar = Ox.Bar({size: 16});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue