uiSlider 拇指图形“闪烁”在第一代 3.1.3 上拖动 uiScrollview 时

发布于 2024-10-18 09:56:55 字数 412 浏览 9 评论 0原文

我已将自己的拇指添加到 uiSlider 中,并将 1px x 1px 透明 .png 添加到轨道中(我不想看到轨道)(我也尝试将轨道设置为 nil)。

我的 uiSlider 也旋转为垂直。

uiSlider 位于 uiScrollView 之上,但未“附加”到该视图。有许多 uiLabels“附加”到此 uiScrollView,因此它们都在 uiSlider“下方”滑动。

在 3g 和 iphone 4 上一切正常,但在我的 1g itouch (3.1.3) 上有时滚动 uiScrollview 时,我会从拇指图形中看到奇怪的闪光!?

当 uiLabel 的边缘(在 uiScrollView 上)经过拇指图形“下方”时,似乎确实会发生这种情况?

我已经尝试了所有我能想到的...

I have added my own thumb to a uiSlider and added a 1px x 1px transparent .png to the tracks (I don't want to see the tracks) (I have also tried setting tracks to nil).

My uiSlider is also rotated to vertical.

The uiSlider sits over a uiScrollView but is not 'attached' to that view. There are numerous uiLabels 'attached' to this uiScrollView, so they all slide about 'beneath' the uiSlider.

It all works fine on 3g and iphone 4, but on my 1g itouch (3.1.3) I get a strange flash from the thumb graphic sometimes when scrolling the uiScrollview!?

It does seem to happen when the edge of a uiLabel (on the uiScrollView) passes 'under' the thumb graphic?

I have tried everything I can think of...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

江城子 2024-10-25 09:56:55

知道了!将 1px x 1px 透明 .png 改为 2px x 2px!

Got it! made the 1px x 1px transparent .png 2px x 2px instead!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文