mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 19:02:55 +02:00
Sizing is universal now.
This commit is contained in:
parent
2e77393b93
commit
bf5caa26b5
2 changed files with 20 additions and 6 deletions
|
@ -76,11 +76,11 @@ function onMessageReceived(channel, message, sender, localOnly) {
|
||||||
receivingItem(sender, messageJSON.type, messageJSON.name, messageJSON.url);
|
receivingItem(sender, messageJSON.type, messageJSON.name, messageJSON.url);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print("Message received:");
|
// print("Message received:");
|
||||||
print("- channel: " + channel);
|
// print("- channel: " + channel);
|
||||||
print("- message: " + message);
|
// print("- message: " + message);
|
||||||
print("- sender: " + sender);
|
// print("- sender: " + sender);
|
||||||
print("- localOnly: " + localOnly);
|
// print("- localOnly: " + localOnly);
|
||||||
}
|
}
|
||||||
|
|
||||||
function sendMessage(dataToSend) {
|
function sendMessage(dataToSend) {
|
||||||
|
|
|
@ -210,14 +210,28 @@
|
||||||
<v-icon color="orange darken-2">mdi-blur-linear</v-icon>
|
<v-icon color="orange darken-2">mdi-blur-linear</v-icon>
|
||||||
</div>
|
</div>
|
||||||
<v-list-item-content class="pb-1 pt-2">
|
<v-list-item-content class="pb-1 pt-2">
|
||||||
|
<div v-show="settings.displayDensity.size > 0" class="overline" style="font-size: 0.825rem !important;">{{item.type}}</div>
|
||||||
<v-list-item-title class="subtitle-1 mb-1">{{item.name}}</v-list-item-title>
|
<v-list-item-title class="subtitle-1 mb-1">{{item.name}}</v-list-item-title>
|
||||||
<v-list-item-subtitle v-show="settings.displayDensity.size == 2">{{item.url}}</v-list-item-subtitle>
|
<v-list-item-subtitle v-show="settings.displayDensity.size == 2">{{item.url}}</v-list-item-subtitle>
|
||||||
</v-list-item-content>
|
</v-list-item-content>
|
||||||
|
|
||||||
<v-menu bottom left>
|
<v-menu bottom left>
|
||||||
<template v-slot:activator="{ on }">
|
<template v-slot:activator="{ on }">
|
||||||
|
<!-- settings.displayDensity.size >= 1 -->
|
||||||
<v-btn
|
<v-btn
|
||||||
:style="{backgroundColor: (getIconColor(item.type)) }"
|
:style="{backgroundColor: (getIconColor(item.type)) }"
|
||||||
|
v-show="settings.displayDensity.size >= 1"
|
||||||
|
medium
|
||||||
|
fab
|
||||||
|
dark
|
||||||
|
v-on="on"
|
||||||
|
>
|
||||||
|
<v-icon>{{displayIcon(item.type)}}</v-icon>
|
||||||
|
</v-btn>
|
||||||
|
<!-- settings.displayDensity.size < 1 -->
|
||||||
|
<v-btn
|
||||||
|
:style="{backgroundColor: (getIconColor(item.type)) }"
|
||||||
|
v-show="settings.displayDensity.size < 1"
|
||||||
small
|
small
|
||||||
fab
|
fab
|
||||||
dark
|
dark
|
||||||
|
|
Loading…
Reference in a new issue