Skip to content

Commit

Permalink
set background of video boxes
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Nov 10, 2024
1 parent e0cd55e commit 1a6539a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/kotlin/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ const val BG_COLOR_RELAY_CONTACT_ITEM = 0x448ABEB9
const val BG_COLOR_OWN_RELAY_CONTACT_ITEM = 0x44FFFFB9
const val URL_TEXTVIEW_URL_COLOR = 0xFF223DDC
const val NGC_PRIVATE_MSG_INDICATOR_COLOR = 0xFFFFA255
val VIDEO_BOX_BG_COLOR = Color(0x00E7E7E7) // this is now fully transparent. but just in case the color vaule of the grey BG is saved here
val MESSAGE_PUSH_CHECKMARK_COLOR = Color(0xFF2684A7)
val DELIVERY_CHECKMARK_COLOR = Color(0xFF2684A7)
val DELIVERY_CONFIRM_CHECKMARK_COLOR = Color(0xFF2684A7)
Expand Down Expand Up @@ -541,7 +542,7 @@ fun App()
else
{
SwingPanel(
background = Color.Green,
background = VIDEO_BOX_BG_COLOR,
modifier = Modifier.fillMaxWidth(video_in_box_width_fraction)
.padding(5.dp)
.weight(80.0f)
Expand Down Expand Up @@ -758,7 +759,7 @@ fun App()
else
{
SwingPanel(
background = Color.Green,
background = VIDEO_BOX_BG_COLOR,
modifier = Modifier.size(video_out_box_width, video_out_box_height)
.combinedClickable(onClick = {
if (video_out_box_small)
Expand Down

0 comments on commit 1a6539a

Please sign in to comment.