Skip to content

Commit

Permalink
Disable dialog with conditions details
Browse files Browse the repository at this point in the history
Refs: #16
  • Loading branch information
orontee committed Sep 3, 2023
1 parent 9dbfe0b commit 8191000
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 0 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
- Location selection through text input
[#12](https://github.com/orontee/argos/issues/12)

- Display dialog with condition details
[#16](https://github.com/orontee/argos/issues/16)

- Specify language when calling OpenWeather API
[#15](https://github.com/orontee/argos/issues/15)

Expand Down
7 changes: 5 additions & 2 deletions src/currentconditionbox.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,11 @@ class CurrentConditionBox : public Widget {
int handle_pointer_event(int event_type, int pointer_pos_x,
int pointer_pos_y) override {
if (event_type == EVT_POINTERUP) {
this->open_current_condition_dialog();
return 1;
// this->open_current_condition_dialog();
// return 1;

// Currently disabled since rendering is ugly.
// See https://github.com/orontee/taranis/issues/16
}
return 0;
}
Expand Down

0 comments on commit 8191000

Please sign in to comment.