在对开页模式下,翻页动画不会全屏显示
我指的是 Ole Begemann 的 Page Curl API,它在横向模式下具有对页。
这是我引用的链接:
https://github.com/ole/leaves/tree /twopages
现在的问题是,即使我的图像是 768 X 1024 或 1024 X 768 像素,它仍然只显示一个小图像,页面的其余部分显示白色背景。
我想让图像在高度上全屏显示。如何删除屏幕截图中显示的空白?
这是它的外观的屏幕截图。此屏幕截图在两个页面上都有相同的图像,唯一的是图像的高度应为 768.0 像素:
I am refering to Ole Begemann's API for Page Curl which has facing pages in the Landscape mode.
Here is the link I am refering to:
https://github.com/ole/leaves/tree/twopages
Now the problem is even if my images are 768 X 1024 or 1024 X 768 Pixels, it still shows only a small image and rest of the page show white background.
I want to make the image full screen in terms of height. How can I remove the white space shown in the screenshot?
Here is a screen shot of how it looks. this screen shot has same images on both the facing pages, only thing is the height of the image should be 768.0 pixels:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
搞定了。
图像是按比例绘制的,因此高度和宽度之间有固定的比例。
我删除了它并运行它,它现在可以工作了。
希望这对某人有帮助。
如果有人在实现相同的 API 时遇到任何问题,请在下面发表评论。我很乐意提供帮助。
Got it done.
The image was drawn proportionally so there was a fixed proportion between height and width.
I removed that and ran it and it is working now.
Hope this helps someone.
If anyone is imlpementing the same API and having any problems with that, then please leave a comment below.. I will be happy to help.