Closed zhcode-fun closed 2 years ago
Why use MediaQuery when I set deviceSize? Is deviceSize useful?
英语不好,再用中文说一遍 按理说,我传了deviceSize那应该就用我传的尺寸计算才对,而且我觉得如果传了deviceSize的情况下context也可以不用传了, 但现在无论传不传deviceSize,插件都会自己用MediaQuery 获取的尺寸,deviceSize好像没什么用
Good point.
应该是历史遗留问题
This issue is stale because it has been open for 30 days with no activity.
Why use MediaQuery when I set deviceSize? Is deviceSize useful?
英语不好,再用中文说一遍 按理说,我传了deviceSize那应该就用我传的尺寸计算才对,而且我觉得如果传了deviceSize的情况下context也可以不用传了, 但现在无论传不传deviceSize,插件都会自己用MediaQuery 获取的尺寸,deviceSize好像没什么用