Skip to content

Commit

Permalink
masking fix
Browse files Browse the repository at this point in the history
  • Loading branch information
milgra committed Nov 17, 2022
1 parent 7feb088 commit 2c56ef7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 46 deletions.
28 changes: 0 additions & 28 deletions res/html/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,6 @@
align-items: center;
}

.tablehead {
height: 20px;
width: 100%;
background-color: #121212FF;
}

.tableback {
color: #222222FF;
overflow: hidden;
}

.vertscroll {
width: 10px;
height: 100px;
Expand Down Expand Up @@ -211,11 +200,6 @@
background-color: #121212FF;
}

.tableback {
background-color: #222222FF;
overflow: hidden;
}

#songlisttop {
height: 150px;
width: 100%;
Expand Down Expand Up @@ -501,45 +485,33 @@
margin: auto;
}

#songlist {
width: 100%;
height: 100%;
overflow: hidden;
background-color: #141414FF;
}

#genretable {
width: 150px;
height: 100%;
overflow: hidden;
margin-top: 40px;
margin-bottom: 40px;
background-color: #252525FF;
}

#artisttable {
overflow: hidden;
margin-top: 40px;
margin-bottom: 40px;
background-color: #252525FF;
}

#metatable {
overflow: hidden;
margin-top: 40px;
margin-bottom: 40px;
background-color: #252525FF;
}

#contexttable {
overflow: hidden;
margin-top: 20px;
margin-bottom: 20px;
background-color: #353535FF;
}

#settingstable {
overflow: hidden;
margin-top: 40px;
margin-bottom: 40px;
background-color: #151515FF;
Expand Down
18 changes: 0 additions & 18 deletions res/html/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,6 @@
</div>
</div>

<!-- <div id="songtable" class="fullscale colflex"> -->
<!-- <div id="songtablehead" class="tablehead"> -->
<!-- <div id="songtableheadrow" class="head rowtext"/> -->
<!-- </div> -->
<!-- <div id="songtablelayers" class="tableback fullscale"> -->
<!-- <div id="songtablebody" class="fullscale"> -->
<!-- <div id="songtable_row_a" class="rowa rowtext" type="label" text="row a"/> -->
<!-- <div id="songtable_row_b" class="rowb rowtext" type="label" text="row b"/> -->
<!-- <div id="songtable_row_selected" class="rowselected rowtext" type="label" text="row selected"/> -->
<!-- </div> -->
<!-- <div id="songtablescroll" class="fullscale"> -->
<!-- <div id="songtablevertscroll" class="vertscroll"/> -->
<!-- <div id="songtablehoriscroll" class="horiscroll"/> -->
<!-- </div> -->
<!-- <div id="songtableevt" class="fullscale"/> -->
<!-- </div> -->
<!-- </div> -->

<div id="visuals">
<div id="visualsflex" class="fullscale rowflex">
<div id="visL" class="freq"/>
Expand Down
4 changes: 4 additions & 0 deletions src/kinetic_ui/handler/vh_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,10 @@ void vh_table_attach(
head_v->style.height = headrow->frame.local.h;
}

/* set mask */
body_v->style.masked = 1;
if (head_v) head_v->style.masked = 1;

/* attach header view as first view */
if (head_v) ku_view_add_subview(view, head_v);

Expand Down

0 comments on commit 2c56ef7

Please sign in to comment.