Wrapper; Adding minor fixes to html5 builds accidentally calling native function. Fixed input to match the new values on html5
This commit is contained in:
@@ -179,11 +179,13 @@ class Sound {
|
||||
|
||||
@:noCompletion public function do_check_complete ():Bool {
|
||||
|
||||
if( lime_sound_channel_is_complete(channel) ) {
|
||||
handle = null;
|
||||
channel = null;
|
||||
return true;
|
||||
}
|
||||
#if lime_native
|
||||
if( lime_sound_channel_is_complete(channel) ) {
|
||||
handle = null;
|
||||
channel = null;
|
||||
return true;
|
||||
}
|
||||
#end
|
||||
|
||||
return false;
|
||||
|
||||
|
||||
@@ -525,7 +525,7 @@ class InputHandler {
|
||||
|
||||
js.Browser.document.addEventListener('keydown', function(e){
|
||||
if (e.keyCode >= 65 && e.keyCode <= 122) {
|
||||
e.value = e.which+32;
|
||||
e.value = e.which;
|
||||
} else {
|
||||
e.value = e.which;
|
||||
}
|
||||
@@ -534,7 +534,7 @@ class InputHandler {
|
||||
});
|
||||
js.Browser.document.addEventListener('keyup', function(e){
|
||||
if (e.keyCode >= 65 && e.keyCode <= 122) {
|
||||
e.value = e.which+32;
|
||||
e.value = e.which;
|
||||
} else {
|
||||
e.value = e.which;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user