Commit dad5ea51 authored by Oleg Korshul's avatar Oleg Korshul

ios bug fixed

parent a7d30127
......@@ -200,7 +200,7 @@ var FT_Get_Charmap_Index = AscFonts.FT_Get_Charmap_Index;
if ((r == this.R) && (g == this.G) && (b == this.B))
return;
if (!AscBrowser.isAppleDevices)
if (/*!AscBrowser.isAppleDevices*/true)
{
this.R = r;
this.G = g;
......
......@@ -1005,6 +1005,12 @@ CTouchScroll.prototype = {
that.wrapperW = ((that.api.m_oEditor.HtmlElement.width) || 1) >> 0;
that.wrapperH = ((that.api.m_oEditor.HtmlElement.height) || 1) >> 0;
if (that.api.bIsRetinaSupport)
{
that.wrapperW >>= 1;
that.wrapperH >>= 1;
}
that.minScrollY = 0;
that.scrollerW = that.api.m_dDocumentWidth;
......
......@@ -1057,7 +1057,7 @@ function GetUploadInput(onchange) {
input.setAttribute('name', inputName);
input.setAttribute('type', 'file');
input.setAttribute('accept', 'image/*');
input.setAttribute('style', 'position:absolute;left:-2px;top:-2px;width:1px;height:1px;z-index:-1000;');
input.setAttribute('style', 'position:absolute;left:-2px;top:-2px;width:1px;height:1px;z-index:-1000;cursor:pointer;');
input.onchange = onchange;
document.body.appendChild( input );
return input;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment