600393ba-d3f6-46a3-9017-e0ef8f8ed802.js.map
923 Bytes
{"version":3,"sources":["assets/script/common/ToBeContinueFix.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAM,EAAC,OAAO,EAAE,QAAQ,EAAC,GAAG,EAAE,CAAC,UAAU,CAAC;AAG1C;IAAA,IAAqB,eAAe,GAApC,MAAqB,eAAgB,SAAQ,EAAE,CAAC,SAAS;QAErD,MAAM;YACF,IAAI,CAAC,aAAa,EAAE,CAAC;QACzB,CAAC;QAED,aAAa;YACT,IAAI,EAAE,CAAC,OAAO,CAAC,MAAM,GAAG,IAAI,EAAE;gBAC1B,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;aAC9C;QACL,CAAC;KACJ,CAAA;IAXoB,eAAe;QADnC,OAAO;OACa,eAAe,CAWnC;IAAD,sBAAC;KAAA;kBAXoB,eAAe","file":"","sourceRoot":"/","sourcesContent":["import { DummyNode } from \"./CCDummyObjects\";\n\nconst {ccclass, property} = cc._decorator;\n\n@ccclass\nexport default class ToBeContinueFix extends cc.Component {\n\n onLoad () {\n this.fixScreenSize();\n }\n\n fixScreenSize () {\n if (cc.winSize.height < 1280) {\n this.node.scale = cc.winSize.height / 1280;\n }\n }\n}\n"]}