Compare commits

...
Sign in to create a new pull request.

3 commits

Author SHA1 Message Date
Alexander Borsuk
571a91dcff Add a line to ru and en Release Notes
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-02-27 08:24:49 +02:00
Viktor Govako
cdfdcf5e53 Revert "[generator] Use release CHECK to verify FeatureType geometry."
This reverts commit 3919b98c32.

Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2024-02-27 08:22:41 +02:00
0cfb958298 [ios] fix: crash when user taps the Menu button during hiding animation
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-02-27 08:22:41 +02:00
4 changed files with 12 additions and 6 deletions

View file

@ -704,7 +704,7 @@ m2::RectD FeatureType::GetLimitRect(int scale)
if (m_triangles.empty() && m_points.empty() && (GetGeomType() != GeomType::Point))
{
CHECK(false, (m_id));
ASSERT(false, (m_id));
// This function is called during indexing, when we need
// to check visibility according to feature sizes.
@ -717,8 +717,8 @@ m2::RectD FeatureType::GetLimitRect(int scale)
m2::RectD const & FeatureType::GetLimitRectChecked() const
{
CHECK(m_parsed.m_points && m_parsed.m_triangles, (m_id));
CHECK(m_limitRect.IsValid(), (m_id));
ASSERT(m_parsed.m_points && m_parsed.m_triangles, (m_id));
ASSERT(m_limitRect.IsValid(), (m_id));
return m_limitRect;
}

View file

@ -47,14 +47,16 @@ extension BottomTabBarInteractor: BottomTabBarInteractorProtocol {
func openMenu() {
guard let state = controlsManager?.menuState else {
fatalError()
fatalError("ERROR: Failed to retrieve the current MapViewControlsManager's state.")
}
switch state {
case .inactive: controlsManager?.menuState = .active
case .active: controlsManager?.menuState = .inactive
case .hidden: fallthrough
case .hidden:
// When the current controls manager's state is hidden, accidental taps on the menu button during the hiding animation should be skipped.
break;
case .layers: fallthrough
@unknown default: fatalError()
@unknown default: fatalError("ERROR: Unexpected MapViewControlsManager's state: \(state)")
}
}
}

View file

@ -1,3 +1,5 @@
• Fixed several crashes
• OpenStreetMap data as of February 2
• Removed "Continue detecting your location?" dialog, now location search can be stopped by pressing the "rotating radar" location button
• Auto Light/Dark theme setting is synced with the system

View file

@ -1,3 +1,5 @@
• Исправлено несколько крешей
• Данные OpenStreetMap по состоянию на 2 февраля
• Убран диалог "Продолжить определение местоположения?", теперь поиск местоположения можно остановить, нажав на кнопку определения местоположения "вращающийся радар"
• Автоматическая настройка темы "Светлая/Тёмная" теперь синхронизирована с системой