Skip to content

Commit fb9a81e

Browse files
committed
Move the default location of the TTD.Memory and TTD.Calls widget
1 parent 13545dc commit fb9a81e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ui/ttdcallswidget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ class TTDCallsWidgetType : public SidebarWidgetType
187187
public:
188188
TTDCallsWidgetType();
189189
SidebarWidget* createWidget(ViewFrame* frame, BinaryViewRef data) override;
190-
SidebarWidgetLocation defaultLocation() const override { return SidebarWidgetLocation::RightBottom; }
190+
SidebarWidgetLocation defaultLocation() const override { return SidebarWidgetLocation::RightContent; }
191191
SidebarContextSensitivity contextSensitivity() const override { return PerViewTypeSidebarContext; }
192192
SidebarIconVisibility defaultIconVisibility() const override { return HideSidebarIconIfNoContent; }
193193
SidebarContentClassifier* contentClassifier(ViewFrame*, BinaryViewRef) override;

ui/ttdmemorywidget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class TTDMemoryWidgetType : public SidebarWidgetType
204204
public:
205205
TTDMemoryWidgetType();
206206
SidebarWidget* createWidget(ViewFrame* frame, BinaryViewRef data) override;
207-
SidebarWidgetLocation defaultLocation() const override { return SidebarWidgetLocation::RightBottom; }
207+
SidebarWidgetLocation defaultLocation() const override { return SidebarWidgetLocation::RightContent; }
208208
SidebarContextSensitivity contextSensitivity() const override { return PerViewTypeSidebarContext; }
209209
SidebarIconVisibility defaultIconVisibility() const override { return HideSidebarIconIfNoContent; }
210210
SidebarContentClassifier* contentClassifier(ViewFrame*, BinaryViewRef) override;

0 commit comments

Comments
 (0)