removed logs

This commit is contained in:
milad 2019-09-03 18:11:56 -07:00
parent 44e518f5a1
commit 669fef763a
3 changed files with 0 additions and 19 deletions

View file

@ -138,7 +138,6 @@ Flickable {
labelTextOn: "Show Emote UI"
checked: Settings.getValue("simplifiedUI/showEmoteUI", true)
onClicked: {
console.log("CLICKED GENERAL SETTING")
var currentSetting = Settings.getValue("simplifiedUI/showEmoteUI", true);
Settings.setValue("simplifiedUI/showEmoteUI", !currentSetting);
}

View file

@ -530,16 +530,6 @@ function handleEmoteIndicatorVisibleChanged(shouldBeVisible) {
}
}
function handleEmoteIndictaorTrayDisabledChanged(shouldBeDisabled) {
emoteAppBarWindow.sendToQml({
"source": "simplifiedEmote.js",
"method": "updateTrayDisabled",
"data": {
"shouldBeDisabled": shouldBeDisabled
}
});
}
function onDisplayModeChanged(isHMDMode) {
reactionsBegun.forEach(function(react) {

View file

@ -21,13 +21,9 @@ Rectangle {
id: root
color: simplifiedUI.colors.white
anchors.fill: parent
Component.onCompleted: {
console.log("\n\n\n\n\n\n\n COMPLETED @@2 \n\n\n\n\n\n\n\n");
}
property int originalWidth: 48
property int expandedWidth: mainEmojiContainer.width + drawerContainer.width
// For the below to work, the Repeater's Item's second child must be the individual button's `MouseArea`
// Here
property int requestedWidth: (
root.showEmoteUI && (
drawerContainer.keepDrawerExpanded ||
@ -46,8 +42,6 @@ Rectangle {
onRequestedWidthChanged: {
console.log("root.tryDisabled on requested widthChanged", root.showEmoteUI);
console.log(root.requestedWidth);
root.requestNewWidth(root.requestedWidth);
}
@ -60,9 +54,7 @@ Rectangle {
target: Settings
onValueChanged: {
console.log("in on value changed", setting, value)
if (setting === "simplifiedUI/showEmoteUI") {
console.log("on root tray disabled");
root.showEmoteUI = value;
}
}