Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

图片宽度固定了。。。 #4

Closed
coooliang opened this issue Nov 6, 2019 · 1 comment
Closed

图片宽度固定了。。。 #4

coooliang opened this issue Nov 6, 2019 · 1 comment

Comments

@coooliang
Copy link

代码里固定的图片的宽度

else if(self.param.wItemSize.width<self.frame.size.width/2){
        self.param.wItemSize = CGSizeMake(self.frame.size.width/2, self.param.wItemSize.height);

请问能不能实现一下小图的滚动呢!~

@wwmz
Copy link
Owner

wwmz commented Nov 6, 2019

可以的 我那时候是为了避免control显示的bug 我把这个代码限制注释了 现在可以小图滚动了

@wwmz wwmz closed this as completed Feb 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants