查看: 4419|回复: 1

[已经解决] 让窗口的光标停止闪烁,怎么修改?

[复制链接]
梦石
0
星屑
29220
在线时间
1535 小时
注册时间
2006-1-10
回帖
1898

开拓者第一届地图绘制大赛RTP组第四名

发表于 2016-4-26 10:05:13 | 显示全部楼层 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有账号?注册会员

×
默认系统里面的光标会自动闪烁,

停止这种闪烁的效果,

请问要如何改? 谢谢
MV帮助 http://miaowm5.github.io/RMMV-F1/日复一日,年复一年人还是保留一点自我兴趣的好啊~~~忘记过去 ,这样我就可以  放弃未来了……哭~~终于找回以前的头像了,哎~~原来我是那么的想念阿……
画地图没灵感?很烦?很无聊 【 戳 我 】一 大 波 地 图 在 等 你  \^0^/
我的游戏
梦石
0
星屑
1232
在线时间
1017 小时
注册时间
2011-4-30
回帖
1464
发表于 2016-4-27 20:58:37 | 显示全部楼层
  1. Window.prototype._updateCursor = function() {
  2.     var blinkCount = this._animationCount % 40;
  3.     var cursorOpacity = this.contentsOpacity;
  4.   /*  if (this.active) {
  5.         if (blinkCount < 20) {
  6.             cursorOpacity -= blinkCount * 8;
  7.         } else {
  8.             cursorOpacity -= (40 - blinkCount) * 8;
  9.         }
  10.     }*/
  11.     this._windowCursorSprite.alpha = cursorOpacity / 255;
  12.     this._windowCursorSprite.visible = this.isOpen();
  13. };
复制代码

点评

O(∩_∩)O谢谢  发表于 2016-4-28 02:09

评分

参与人数 2星屑 +286 收起 理由
余烬之中 + 166 认可答案
king + 120 认可答案

查看全部评分

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部