Skip to content

Commit

Permalink
thumb don't show block on banner
Browse files Browse the repository at this point in the history
  • Loading branch information
fgl27 committed Aug 2, 2023
1 parent 224283a commit f1987a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/specific/Screens.js
Original file line number Diff line number Diff line change
Expand Up @@ -2725,14 +2725,14 @@ function Screens_ThumbOptionStart(key, click) {
ScreenObj[key].setTODialog(true);
}

if (ScreenObj[key].screenType === 4) {
if (ScreenObj[key].screenType === 4 && !ScreenObj[key].BannerCreated) {
//Don't add focus above block to prevent unintentional block
Screens_ThumbOptionPosY = 5;
Main_RemoveClass('dialog_thumb_opt_setting_3', 'hideimp');
Screens_values_Play_data = Screens_GetObj(key);
}

if (ScreenObj[key].screenType === 3) {
if (ScreenObj[key].screenType === 3 && !ScreenObj[key].BannerCreated) {
//Don't add focus above block to prevent unintentional block
Screens_ThumbOptionPosY = 5;
Main_RemoveClass('dialog_thumb_opt_setting_4', 'hideimp');
Expand Down
4 changes: 3 additions & 1 deletion app/specific/ScreensObj.js
Original file line number Diff line number Diff line change
Expand Up @@ -1863,7 +1863,9 @@ function ScreensObj_InitUserChannels() {
this.base_key_play(key, true);
},
addCell: function (cell) {
if (!this.idObject[cell.id]) {
var isNotBlocked = Screens_isNotBlocked(cell.id, null, this.IsUser);

if (!this.idObject[cell.id] && isNotBlocked) {
this.itemsCount++;
this.idObject[cell.id] = 1;

Expand Down

0 comments on commit f1987a8

Please sign in to comment.