Skip to content

Commit

Permalink
Sensor size presets
Browse files Browse the repository at this point in the history
  • Loading branch information
monman53 committed Jun 14, 2024
1 parent 1791548 commit 784f24f
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/Controller.vue
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,21 @@ const nRays = computed(() => {
</td>
<td></td>
</tr>
<tr>
<td>Sensor height</td>
<td>
<button @click="sensor.r = 24 / 2">Full frame</button>
<br>
<button @click="sensor.r = 15.6 / 2">APS-C</button>
<br>
<button @click="sensor.r = 14.9 / 2">APS-C (Canon)</button>
<br>
<button @click="sensor.r = 13 / 2">Four thirds</button>
<br>
<button @click="sensor.r = 8.8 / 2">1"</button>
</td>
<td></td>
</tr>
<tr>
<td><label><input type="checkbox" v-model="options.apple">Apple</label></td>
<td></td>
Expand Down Expand Up @@ -266,7 +281,7 @@ table td:nth-child(1) {
}
table td:nth-child(2) {
text-align: right;
text-align: left;
}
table td:nth-child(3) {
Expand Down

0 comments on commit 784f24f

Please sign in to comment.