Merge remote-tracking branch 'RafaFP/fix-1722' into mconf-live0.7.3 (refs #1722)
This commit is contained in:
commit
30caf8b0fb
@ -42,6 +42,7 @@
|
||||
import org.bigbluebutton.core.events.LockControlEvent;
|
||||
import org.bigbluebutton.core.events.VoiceConfEvent;
|
||||
import org.bigbluebutton.core.managers.UserManager;
|
||||
import org.bigbluebutton.core.UsersUtil;
|
||||
import org.bigbluebutton.core.vo.LockSettingsVO;
|
||||
import org.bigbluebutton.main.model.users.BBBUser;
|
||||
import org.bigbluebutton.main.model.users.events.ChangeMyRole;
|
||||
@ -92,14 +93,14 @@
|
||||
}
|
||||
|
||||
private function onRollOver(e:UsersRollEvent):void{
|
||||
if (moderator && (e.userID == data.userID)) {
|
||||
if ((moderator || UsersUtil.isMe(e.userID)) && (e.userID == data.userID)) {
|
||||
rolledOver = true;
|
||||
updateButtons();
|
||||
}
|
||||
}
|
||||
|
||||
private function onRollOut(e:UsersRollEvent):void{
|
||||
if (moderator && rolledOver) {
|
||||
if ((moderator || UsersUtil.isMe(e.userID)) && rolledOver) {
|
||||
rolledOver = false;
|
||||
updateButtons();
|
||||
}
|
||||
@ -115,7 +116,7 @@
|
||||
}
|
||||
|
||||
private function refreshRole(amIModerator:Boolean):void {
|
||||
lockBtn.enabled = muteBtn.enabled = settingsBtn.enabled = moderator = amIModerator;
|
||||
lockBtn.enabled = settingsBtn.enabled = moderator = amIModerator;
|
||||
}
|
||||
|
||||
private function muteMouseOverHandler():void {
|
||||
@ -199,6 +200,7 @@
|
||||
muteImg.includeInLayout = !rolledOver;
|
||||
muteBtn.visible = rolledOver;
|
||||
muteBtn.includeInLayout = rolledOver;
|
||||
muteBtn.enabled = true;
|
||||
|
||||
if(data.talking && !rolledOver){
|
||||
muteImg.filters = [new GlowFilter(0x000000, 1, 6, 6, 2, BitmapFilterQuality.HIGH, false, false)];
|
||||
|
Loading…
Reference in New Issue
Block a user